Question
Bank of America
Bank of America
US
Bank of America
Posted: Aug 5, 2019
Last activity: Aug 6, 2019
Last activity: 6 Aug 2019 3:15 EDT
Closed
Enable Auto-refresh for Tabs
We have a tabbed layout in Manager Portal. In the portal one tab is static and fixed. Other tabs are dynamic. We are trying to enable auto refresh for the dynamic tabs as well. No OOTB configuration is available for the same. Any lead on this?
https://community.pega.com/support/support-articles/auto-refresh-work-object-tabs-portal
Auto-refresh is not supported for dynamic tabs in dynamic container. Refresh when active is supported only for static tabs in dynamic container.
This is expected and we don't have OOB feature for this requirement.
You can have custom code to do this.
For example, you can register event (custom function) for this tab (for which you want to get the refreshed). In that custom function , refresh the iframe respective to that tab.
iframe refresh happens when the src of it is changed, so we can store the existing src to a variable and then reassign it to the iframe src , so the content will be refreshed...