Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Javascript - Identify page of a portal
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Javascript - Identify page of a portal
 Login/Join
 
Platinum Member
posted
Hey All,

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
 
Posts: 129 | Registered: July 10, 2018Reply With QuoteReport This Post
Expert
posted Hide Post
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.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6275 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
ok thank you waz. I'll look into this.

Appreciate it!


WebFOCUS 8204
 
Posts: 129 | Registered: July 10, 2018Reply With QuoteReport This Post
Expert
posted Hide Post
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 
 
Posts: 5686 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Javascript - Identify page of a portal

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.