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
- Open the OWL in the UI Designer.
- In the Controller Tab create a new Inport with the name AutoRefresh_Inport
- 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. - Save and activate
Changes to the QA
- Open the QA in the UI Designer
- In the Controller tab create a new outport named AutoRefresh_Outport
- 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. - 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.
- 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.
Subscribe
Login
Please login to comment
0 Comments