I have a button on my Practitioner View app in the Header line that refreshes the page.
The JS command I used with the button to refresh the page is “window.location.reload()”
Do you know of a way to refresh a different page then the one that is active?
For example, if I am on the Payer app page, can I have a button with JS code that will refresh the Practitioner View app page?
Here's an explanation of why I want to do this.
I have an action button on the Practitioner View app to add a payer record for the practitioner. When you click the button, it opens a new browser tab where I can view, update, and save the newly created payer record.
Back on the Practitioner View app, I have a related records section to show related payer records. When I use the action button to create a new payer record, the related records section does not update automatically when I’m done with adding the new payer record.
To help with this, I created a button in the header of the Practitioner View app to Refresh the page so the new payer record appears in the related records section after I close the Payer app. It would be nice if I could add code on Payer app to refresh the page for the Practitioner View before I close the Payer page.
Thanks