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     [SOLVED]Drill down to a file not in APP PATH

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Drill down to a file not in APP PATH
 Login/Join
 
Gold member
posted
I am creating a drill down from a graph to a .fex in DevStudio. It works fine if I have the .fex in a folder which is in APP PATH. I am trying to access it from a different folder and using the syntax &IBIAPP_app to specify the folder name. I get an error
(FOC295) A VALUE IS MISSING FOR: &IBIAPP_app

ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=N3, JAVASCRIPT=runReport(N4), $
TYPE=HEADING, LINE=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='ARIAL', SIZE=9, STYLE=BOLD, $
ENDSTYLE
ON GRAPH HOLD AS GRP1 FORMAT HTMTABLE
END
-HTMLFORM BEGIN
<html>
<SCRIPT LANGUAGE="JavaScript">
function runReport(N4) {
 var uri = '/ibi_apps/WFServlet?IBIF_ex=ct-db-today-datastat-drill&IBIAPP_app=ct_test';
  uri += '%26dataStatusID=' + N4   ;
 window.open(unescape(uri),'','menubar=no,toolbar=no,status=no,location=no,width=700,height=500,resizable=yes,scrollbars=yes,left=800,top=200, titlebar=no, fullscreen=no');

}
</script>
<body>
!IBI.FIL.GRP1;
</body>
</html>
-HTMLFORM END


Thanks for your help.

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


7.6.9, XP
 
Posts: 60 | Location: Cary, NC | Registered: February 19, 2008Report This Post
Expert
posted Hide Post
quote:
IBIAPP_app

ct_test must be a sub-folder in the apps folder, even if it's not in the APP PATH. If it's not in the APP PATH, you need to APP MAP it first


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
Wrong answer!

The reason for the error is that WebFOCUS is attempting to translate &IBIAPP_app by looking for a Dialogue Manager variable of that name. WHen you embed an & in non-WebFOCUS code, JS for example, you need to code it like this:

var uri = '/ibi_apps/WFServlet?IBIF_ex=ct-db-today-datastat-drill&|IBIAPP_app=ct_test';
a 'pipe' character right after the ampersand.


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
Francis,
Thank you. As always, your posts are very helpful Smiler
I added the 'pipe' character, but to make it work I had to move the IBIAPP_app before IBIF_ex.
  
var uri = '/ibi_apps/WFServlet?IBIAPP_app=ct_test&|IBIF_ex=ct-db-today-datastat-drill';


7.6.9, XP
 
Posts: 60 | Location: Cary, NC | Registered: February 19, 2008Report 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     [SOLVED]Drill down to a file not in APP PATH

Copyright © 1996-2020 Information Builders