I want to sort the active portal view on name or id, with just a simple radio buttons. The standard sorting will be the name. Do somebody know how to do this?
I forgot that need refreshing portal when global field has changed. See attached.
With just two sort options, you might want to just place two copies of the portal on a slide panel or tab panel.
Otherwise, my standard reply:
FileMaker Portal Sorting That Doesn’t Suck™
Thank Tom Am almost there, but I dont seem to go around the pop up dialog sort. Have You manage to get this to work yourself ?
Make an unstored calculation field (text result) in portal table as
Evaluate ( globalRadioButton )
then sort with it.
If your id field is not text, need adjustment to evaluated as text (2 is greater than 10).
Get what to work? The article I linked? I wrote that, so yeah.
The Sort script step has an option to perform without dialog, is that what you mean?
This dialog shows even if I preform the scriptstep without dialog..
This is interesting, and seems to be less work to achie this.
Can you please help we with an example?
I just need to sort by name and title (both text fields), and the standar sorting can be ID
Thank you so much for the answer, seem to work but only ones, if I choose another sorting the portal dont refresh, even thought I have the refresh script onmodify. Do you have a clue why this is?
Did you set object name for the portal?
Sorry, my bad I used refresh object and not refresh portal.
Retrieving data ...