The solution I found for a dynamic filter is to insert inside the function field in airtable the HTML code of the hyperlink buttons of the URL
and displays it in the application in Softr in rich text
by combining two URL parameters
Also recordId= of the record details block.
and โfilter byโ according to the filter of the table block.
that both have the same record ID.
I can use the url hyperlink buttons I created as a dynamic filter that opens the list details page
along with list details filtered by the same ID.
(The record details block is the parent of the table block)
And so I can edit a table with hundreds of records, in such a way that it will not bring me all the filters of the linked record, but only the relevant ones, which I took dynamically from the table in airtable
@rrbb@Marine.Hovhannisyan this solution is exaclty what I have been searching for but wondering if you might be able to provide a little more instruction on how you set this up?
I think @rrbb will give more detailed instructions as he built this workaround, but, meanwhile, can you please clarify which parts you need more clarification on?
Hi @benvainer , Iโd love to help.
Just tell me what you want me to expand on?
The formula for creating a hyperlink button?
Or the settings in the Softr app?
Or the idea at all?
Haha, I think Iโm missing it on the whole thing maybe Iโll lay out what I think I understand and you can fill in the gaps/tell me if Iโm wrong?
From what I understand generally, weโre displaying different buttons dynamically based on an airtable field. When you click the different button, it changes the list detail page and the table is set to only show related items to whatever reccord is selected?
Step 1 - The hyperlink button. Is the idea to take an embed code from softr, put that in a formula field in airtable, and then look to that airtable field back in softr in some way? I guess Iโm not sure what the โHTML code of the hyperlink buttons of the URLโ refers to exactly.
And then, you mentioned a rich text field to display the buttons back in softr. Is that in a list detail block/is there something special needed to make that work?
Sorry for my lack of understanding and really appreciate the help!
In general - The filter button is built by combining two URL parameters
Also recordId= of the record details block.
and โfilter byโ according to the filter of the table
This is the formula that should be put in the function field of the button
Regarding the upper block - the block of a list of details - which is the filtering block:
The button will send it to the record page
And as for the lower block - the block of the list
The button will send it to a filtered version of the list based on the ID of the button that was clicked.
You can see the details of this software here
To explain I created text fields where I put the HTML code and CSS code
This kinda seems to be what i need but i cant just reproduce it. Could you make a version in english instead of hebrew. Also some more explaination would be appreciated.