How to manage persistent state?

Hi

I have been experimenting with the save grid and persistent state functionality and it seems OK… EXCEPT… I have some index fields which under certain circumstances MUST be changed regardless of either any filters or the persistent state saving.

I can’t find a simple way of resetting the persistent state, or these fields (Other than killing the session).

Does anyone have any advice or guidance on deleting filters or state either by a macro or reseting the globals?

You can clear the persistent states of an app by using sc_reset_apl_status() in onScriptInit or onLoad()

Thanks, I’ll try that… but my problem is that I need ALL apps to recognise the change, so that would mean adding it to every grid.

I suspected it would be something like this as the $session global seems to have the details at the grid level.

I’ve not looked at the macro, but I might be able to loop through it as long as it lets you set these things from a seperate app.