Looking for something similar to an OnPageLoaded event

I'm trying to look for a way to run some javascript on every page load (edit page for a specific object schema).

From an edit page we navigate to an edit detail to create a new address. As we save the address and go back to the first edit page. At this point we want to refresh some of the fields using javascript. How can we best achieve this.

Like 0

Like

2 comments

It's not correct to reload a page any time when it appears. Please use the "messages" property instead. The reloadEntity method reloads a page.

We're aware that's not the correct way, that's why I said "something similar". 

We will look into the messages functionality, thanks!

Show all comments