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
April 13, 2015, 11:41 AM
Francis Mariani
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
April 13, 2015, 01:14 PM
SSander
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
April 13, 2015, 01:45 PM
GavinL
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.
This message has been edited. Last edited by: GavinL,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
April 13, 2015, 01:51 PM
GavinL
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
April 13, 2015, 01:54 PM
GavinL
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
April 13, 2015, 02:43 PM
SSander
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
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
April 13, 2015, 03:09 PM
GavinL
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
April 13, 2015, 03:14 PM
GavinL
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