AnsweredAssumed Answered

How do I force a virtual list based portal to refresh its content?

Question asked by mike_wallace_rcc on Apr 9, 2018
Latest reply on Apr 9, 2018 by jbrown


I have a complex menu system in a FMGo app that is being built by virtual list.

The virtual list is stored in a global variable as JSON.

The menu items are made up of unstored calculated fields in a virtual list table.

I have a simple filter on the portal to show the row only if my "label" calculated field is not empty.

 

As my JSON changes so that an item is removed (in the future it will be updated as well) then I need to portal to be forced to refresh so that it reflects the changes in the JSON.  Because FileMaker doesn't automatically refresh related, unstored calculations based on variable changes in the local scope, I need a way to force the recalculation of all of the virtual list calcs or specific records in my virtual list table.

 

Ideas?

 

Update: I have already tried refresh object and refresh layout including flushing cached data.

Outcomes