This blog will give a short instruction how to configure an OWL to auto-refresh.

When changes are made in the QA and the UI is saved and closed, the OWL is subsequently displayed again. However, the changes are not displayed in the OWL and first an update must be performed with the refresh button.

Changes to the OWL

  1. Open the OWL in the UI Designer.
  2. In the Controller Tab create a new Inport with the name AutoRefresh_Inport
  3. In the Properties Explorer perform the following steps:
    – Set the property Events -> OnFire to the default EventHandler
    – Enter the name AutoRefresh_LocalEvent in the field Navigation -> Local Event.OWL%20Properties
  4. Save and activate

 

Changes to the QA

  1. Open the QA in the UI Designer
  2. In the Controller tab create a new outport named AutoRefresh_Outport
  3. In the Properties Explorer perform the following steps:
    – Set the property Behavior -> Broadcast to True
    – Enter the name AutoRefresh_LocalEvent in the field Navigation -> Local Event.QA%20Properties
  4. In the Controller tab edit the SaveHandler and add a new operation FireOutport below the existing operation WindowAction. Then set the OutPort AutoRefresh_OutPort for FireOutport.QA%20SaveHandler
  5. Save and activate

Hopefully this blog is useful to you to auto-refresh your OWL. The configuration only takes a few minutes and it works with similar settings in the OIF.

Please feel free to leave some feedback.

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x