Skip to Content
Technical Articles
Author's profile photo Markus Maßfelder

Auto-Refresh OWL

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.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Christian Warken
      Christian Warken

      Thank you for this illuminating post, Markus

      Author's profile photo Saurabh Kabra
      Saurabh Kabra

      Thanks for the Simple yet very powerful Trick Markus.

       

      Best

      Saurabh

      Author's profile photo Dhruvin Mehta
      Dhruvin Mehta

      Wow funny enough i was looking for exactly same topic, thanks a lot!

      Author's profile photo Markus Maßfelder
      Markus Maßfelder
      Blog Post Author

      I'm glad it helps you