I have some code in a script module, called from the internalFrameOpened event, that is supposed to refresh some data in the components, and then use the fresh data to do some decision-making tasks. The problem is that the data isn’t refreshing when I ask it to, so the subsequent code is making decisions based on the previous data. This is one of the lines of code I’m using to refresh one of the components. The first line does a refresh, and then, in trying to figure out what was wrong with my code, I added the second line to see if the refreshed data was there. It’s not. The second line tells me that it still sees the data that was there from the last time the window was opened.
print system.gui.getParentWindow(event).getComponentForPath(‘Root Container.txtFName’).text
Oddly, all of the other code that manipulates the components in this script works just fine.