Focal Point
[CLOSED] How to use Common Javascript file for Portal

This topic can be found at:

March 17, 2019, 09:50 AM
[CLOSED] How to use Common Javascript file for Portal
I have a common javascript file that I use in reports to include common images which upon clicking, execute a jquery dialog to produce a popup report. Works great.

However, when I include the report in a portal, the portal loads each section as an iframe. So my popup displays within the section...not over the entire page.

I'm thinking if I can include my javascript at the page level, then each widget could call the common functions from the parent...maybe. I have two questions:

1. How can you include page level javascript on a portal?
2. Is there another way anyone can think of to display a window popup from a widget report?


This message has been edited. Last edited by: FP Mod Chuck,

WebFocus 8.2, Windows
March 18, 2019, 02:28 PM
My first thought is to use a common domain/app folder in which 'common' items reside.

   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206