Hi @gdiepen,
You can experiment with updating the Secondary Page Actions data. For example, try changing the state of a page action from Active to Inactive and then back again.
Any update made to the Secondary Page Actions data will trigger a reload, causing the Secondary Page Actions to update and return to their initial collapsed state.
Hope this information is helpful. Feel free to let us know if you need further assistance.
Thanks,
Madhu Krishnappa
Hi Madhu,
quickly checked. Unfortunately, my secondary page actions are having a definition. So what I did is make one of the fields depend on some binary parameter I set when the procedure starts.
Just changing the value of the parameter to a different value, which should trigger a change in the pageactions displayed does not work.
Adding an explicit update statement of the string parameter (with definition) holding the seconary page actions after setting the value, also does not work.
The one thing that did work is executing a webui::RefreshAllWidgets after a made the modification to the binary parameter that the defined seconary page action string parameter depends on.
Kind of works now, but feels a bit hacky
Now I also see that it ends up temporarily in a busy state (but that comes with a bit of a delay)
Hey @gdiepen any update on your end about this one? Because I’ve been testing this, and either the webui::RefreshAllWidgets or changing the status of a page worked for me.
One idea is to move this thread to Ideation.
Hi @gabiservidone,
worked around this problem in a slightly different way at the moment because I kept on having similar issues. Will try to see if I can isolate the exact situation in demo project and share that (either here or directly with support)