Vision Window Not Responding Correctly

I have Vision window with some script on internalFrameActivated.

as seen below, if the action parameter is set to create, I want to wipe everything off the fields whereas if the action parameter is Edit, I want to show the values without being able to change them.


This works fine only after I update screen or open window for the first time, otherwise, I don’t see values on all the fields.

Any Idea ?

thanks so much in advance

What is your cache policy set for on the window? Maybe try turning it off and see if that helps.

Yes, if you are doing anything with internalFrameActivated I highly recommend you set your cache settings to Never on the window.