How can i get to values stored in the pagestate in the Architect?

There is the filters plugin that based on configuration it stores the selected filters values in the pagestate.

The goal is to use the values from the pagestate and apply it into the filter expression of a grid.

Is it possible to access the pagestate and specific values stored in the pagestate in a Filter expression of a grid ?

Hey Miroslav,

That is possible if the field in the pagestate is a dummy field. In the filter expression you can add an extra parent to get to any dummy field on the pagestate.

An example from M9366:

Does this answer your question?

1 Like

Thanks for the reply, Redmer !

It does clear things out a bit for me and that tells me that most likely, what I am trying to achieve is not possible within the Architect.

A key part of the question is that the Filters plugin is involved. I know that it stores certain values as list of tuples in the page state (which is used in the JavaScript of the plugins using the Filters plugin). This is what I am trying to retrieve in the architect.

1 Like

I think that indeed it will be difficult, if not impossible, to do this without using plug-ins. The ChartClickAction in the Charts plug-in contains an example of applying a filter to a grid based on the Filters plug-in.

Thanks for the reply, Wim !

Indeed that is what I thought. The question is now a feature request SR for the GridFilters plugin. Long story short, we want to introduce new type of grid, that in a sense does something similar to what the Charts or Timeline plugin do with the Filters plugin.

I consider your answer the Solution to this topic, so we can consider this closed.

1 Like