Question

How to refresh Iframe(custom html) on change in the value on a property on requester page

How to refresh Iframe(custom html code) automatically on change in the value on a property which is on requester page.

Iframe section is built at base class. on change in the value of pxrequestor.pxreqlocale value, the custom section has to automatically reload.

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

September 18, 2019 - 4:27am

I think we can use javascript to do it. 

Have a event listener on  pxrequestor.pxreqlocale property in a non-autogenerated section. REload a section when the property value changes. Refer to below link

https://stackoverflow.com/questions/2064850/how-to-refresh-an-iframe-using-javascript

There may be better ways of doing it though.