I’m working on my first Softr app. The data source is Airtable.
I’ve created a section with a “list with horizontal cards”. In each item, I’ve configured an Action. I would like that the result is to open another page part of the app and pass the Record ID via the URL.
I’ve created a dedicated field in Airtable with the Record ID. The column is called CompanyID. The value is correctly displayed in the item.
I’ve configured the action using “Open URL” with
Page-name?CompanyID={{CompanyID}}
I’ve tried different syntax, e.g. with single curly brackets, but the value is not replaced. I tried also to publish the app, but no difference.
Could you please help? I searched in the documentation and also in the community, but did not manage to resolve it yet.
My goal for the follow-up page is not to display the content of the entry related to the RecordID. I would like to display the content of Linked entries in another Airtable table.
How can this be achieved?
To summarise:
first page: horizontal list with items related to individual companies
when clicking on an item: I go to a follow-up page where I see another horizontal list with e.g. departments from a defined company (linked records).
Follow JJs suggestion of using an items details page, with the first block being for that record (even if its simple, e.g. just contains the record name, or is even blank). You can then add the second list block you want, configure the source to be that of the second table, and then with a conditional filter you can specify to only show records in which Field X is exactly the record ID of the first block.
Here’s an example I’ve used to setup a list block of students being related to a single course:
Thank you @Jjenglert and @Matt. I understood the underlying logic and implemented. I guess this is the related documentation:
I’ve one more question. I tried to use the same approach to visualise the details of a specific entry in a linked table. This seems not to work, at least I did not manage.
Working scenario:
list details of primary entry (e.g. company)
list of entries from linked table (e.g. list of departments)
Not working:
list details of primary entry (e.g. specific details about a department)
list details of linked entry (e.g. specific details about the related company)
Can you please confirm if the second scenario is possible?