Update a Designer page so that it has auto-refresh capability

Update a Designer page so that it has auto-refresh capability

book

Article ID: KB0070638

calendar_today

Updated On:

Products Versions
ibi WebFOCUS 8207.28.06

Description

How to Refresh Designer portal page using JavaScript code?

Issue/Introduction

How to update a Designer page so that it has auto-refresh capability?

Resolution

Follow these steps to implement the same:
 
 1. Login to WebFOUCS. 2. Click on Unified Tool and select create Visualization 3. Select required Masterfile, add fields to the canvas, and save it. 4. Create Assemble Visualization and add the saved visualization to the page canvas.  User-added image 5. Click outline on the left pane and select JavaScript. Paste the below code and save 
 
 window.setInterval(function (){ $(".pd-page").ibxWidget("callRefresh", undefined, undefined, undefined, true); }, 5000);  

User-added image

6.  Close the window and run the created Page.

Notice: Page refreshes automatically. 
This will cause the page content to be refreshed at the specified interval (5000 = 5 seconds, 180000 would be 3 minutes).