Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [UNSOLVED] BIP (B.I. Portal) - link to a page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[UNSOLVED] BIP (B.I. Portal) - link to a page
 Login/Join
 
Expert
posted
Has anyone figured out how to set up a JS or HTML link to a specific page (tab) on a B.I. Portal?

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Scanning FocalPoint for 'link to a bip page' provides a few posts that suggest this is not possible.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Francis Mariani:
Scanning FocalPoint for 'link to a bip page' provides a few posts that suggest this is not possible.

I have one open case regarding this topic. When I get some information, I will share it with you all.


Release: WebFOCUS 8104, AppStudio: 8105
OS: Windows
Output: HTML,Excel,Active Reports
 
Posts: 89 | Registered: November 19, 2013Report This Post
Master
posted Hide Post
Well, based on IBI, it can't be done yet. However, what we did is created multiple portals and set global variables..

We created a redirect.fex. One report can call the redirect.fex with params of where to go afterwards and setting the global variables. These global variables are specific to the users session, so it will not conflict with anyone else.

We just add a variable any time we add a report that needs them. They all use the same redirect.fex, which is why they all have to have a default.

Example of redirect.fex
-DEFAULT &&PORTAL = _FOC_NULL;
-DEFAULT &&PORT_SUMRY_TYPE = _FOC_NULL;

-DEFAULT &PORTAL = _FOC_NULL;
-DEFAULT &PORT_SUMRY_TYPE = _FOC_NULL;

-? &

-HTMLFORM BEGIN
<script>
{
	top.location.href='&PORTAL.EVAL';
}
</script>
-HTMLFORM END

This message has been edited. Last edited by: GavinL,



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
deleted the "IF statement. I don't think that was needed anymore. It was done because we were having issues from a magnify session to webfocus portal. We resolved that another way.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
BTW, we have had a ticket open on it as well.. Ticket 20543558. They marked it as a new feature request



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
Well I haven't got response yet if its NFR or not. Anyway this example you gave might work on some cases we have so thank you for that Smiler

Maybe if they implement that new functionality that Pages are designed separately then maybe then its possible to "switch" the page.


Release: WebFOCUS 8104, AppStudio: 8105
OS: Windows
Output: HTML,Excel,Active Reports
 
Posts: 89 | Registered: November 19, 2013Report This Post
Master
posted Hide Post
That was the request we gave them.:

NFR : Link from Report to different Portal Page.
Opened: Feb 23, 2015 04:32 PM

Case was submitted with severity 3.
 ----
 New feature request, possibly linked to project 157895.  We need the ability to
 link from a report to a page within a portal.
 We can create hyperlinks to web sites, other reports, but no ability to link it
 to a different Portal page within the same portal.
 We found this online, which looks as if you were planning on it, but doesn't
 seem to be implemented and this is exactly what
 we are trying to do.

http://www.informationbuilders...SIMPLE_as_Can_Be.pdf

Top of Page: 21
------------------
8. Uncheck ?Show in Navigation? to remove the page from the
 navigation.
 You may do this if you are going to create a hyperlink to go to this
 page, which will be possible in the future
 ------------------



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
I just realized, that I deleted the IF statements, that set the public variables.. So that didn't work out so well.. Ha..

So make sure you add the SET commands or no public variables will be set..

The reason you need the IF is, you don't want to delete the global variable if it's already in use, but replace it if something is being passed.
-SET &&PORTAL = IF &PORTAL EQ '' OR &PORTAL EQ _FOC_NULL THEN &&PORTAL ELSE &PORTAL;
-SET &&PORT_SUMRY_TYPE = IF &PORT_SUMRY_TYPE EQ '' THEN _FOC_NULL ELSE &PORT_SUMRY_TYPE;



All the code:
-DEFAULT &&PORTAL = _FOC_NULL;
-DEFAULT &&PORT_SUMRY_TYPE = _FOC_NULL;

-DEFAULT &PORTAL = _FOC_NULL;
-DEFAULT &PORT_SUMRY_TYPE = _FOC_NULL;

-? &

-SET &&PORTAL = IF &PORTAL EQ '' OR &PORTAL EQ _FOC_NULL THEN &&PORTAL ELSE &PORTAL;
-SET &&PORT_SUMRY_TYPE = IF &PORT_SUMRY_TYPE EQ '' THEN _FOC_NULL ELSE &PORT_SUMRY_TYPE;

-HTMLFORM BEGIN
<script>
{
	top.location.href='&PORTAL.EVAL';
}
</script>
-HTMLFORM END



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [UNSOLVED] BIP (B.I. Portal) - link to a page

Copyright © 1996-2020 Information Builders