I'm hoping this might be simple. I'm looking for a command to call the page or tab name of a portal via javascript.
I'm aware of "this.window.name" to get the name of the panel. But I have a component that is in a banner so having the name of the panel won't work.This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8204
April 28, 2020, 06:12 PM
Waz
Using the browsers Developer Tools, inspect the tab and see if there is a unique class name.
If so, then use javascript or Jquery to get the elements contents
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 28, 2020, 06:25 PM
Brandon Andrathy
ok thank you waz. I'll look into this.
Appreciate it!
WebFOCUS 8204
April 29, 2020, 04:39 AM
Tony A
You might(?) need to have a reasonable understanding of DOM structure and its navigation. Look into "parent."
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10