I'm using interfaces to surface training records for search and rescue dogs. Each discipline (human remains detection, live find, tracking/trailing) has different fields associated with it. I currently am working around this constraint by having multiple interface pages filtering by discipline so that I can have page templates for each discipline.
I would love the ability to choose which page template a record opens in based on a condition of the record, so that I can have one page for all records. I think this would be valuable for other use cases as well!
Page 1 / 1
Hello Alyssa,
If understand correctly your need, there is a way to do that. Let us consider the following table:
In my interface, I have one page corresponding to case A and another for case B.
I then add the following formula in my table:
Where URLs are the ones of published pages A or B.
Next you can add a button, use an Icon as label and call the "Page URL" field:
Finally, if you add this field in your interface, each record will open the correct page when clicking on the icon:
Note that I used 2 fields to make it clearer, but you could have only the button field and copy the switch formula there.
Regards,
Pascal
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.