Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JS code to refresh many regions with server-side condition

A_ce1Nov 23 2022

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?

This post has been answered by InoL on Nov 23 2022
Jump to Answer
Comments
Post Details
Added on Nov 23 2022
4 comments
1,911 views