Hi,
I have multiple regions on a page that I would like to refresh in one JS code. I used the following code: apex.region("XYZ").refresh();
There are over 20 regions on the page that I want to refresh, regions have a server-side condition that determines whether they are displayed or not. When I execute apex.region("XYZ").refresh(); on a region that is not visible via the server-side condition I get an error:
Cannot read properties of null (reading 'refresh')
Is there any way to solve this?