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.
I am e-mailing reports with drill downs using report caster and I have added the following string in my procedure to qualify the URL when it goes to Outlook. But the problem is I get a report caster error that says:
Message Code Message Text
BTP1010 Starting worker thread BTP1020 Starting task: RFM - Regional Open PO Report Summary BTP1020 Task type: EDA RPC BTP1020 Procedure name: pdofin/fmanagers_open_po_report_summary_total_test BTP1020 Connecting to server BIWC01 with execution id z022292 BTP1020 Executing focexec. BTP1020 A VALUE IS MISSING FOR: &IBIAPP_app BTP1010 Task error: A VALUE IS MISSING FOR: &IBIAPP_app BTP1010 No report to distribute.
The URL I am using in SET FOCEXURL= is:
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&IBIAPP_app=xxxxxx
Originally posted by GinnyJakes: Then your problem is pathing, not the FOCEXURL statement.
Try putting the IBIC_server and IBIAPP_app as variables on your drilldown syntax in your stylesheet.
Still doesn't work.
BTP1020 Executing focexec. BTP1020 BAD VALUE IN STYLESHEET FILE AT LINE BTP1010 Task error: BAD VALUE IN STYLESHEET FILE AT LINE BTP1010 No report to distribute.
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&IBIAPP_app=xxxxxx
First of all, when you are building the FOCEXURL string, you have an '&' in the line. This means that it is now looking for a variable called &IBIAPP_app. Even if you added &IBIAPP_app(pass) in the site.wfs file, this would still not work as you need the '&' as part of the URL string.
Instead, change your code to the following...
SET FOCEXURL='http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01' | '&' | 'IBIAPP_app=xxxxxx'
Another solution would be to add the application folder to the path on the server, or remove IBIAPP_app from the focexurl and add IBIAPP_app as a variable being passed by the drill down.
Windows: WF 7.6.2: SQL Server 2008 R2
Posts: 86 | Location: Chicago | Registered: August 03, 2007
SET FOCEXURL='http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01' | '&' | 'IBIAPP_app=xxxxxx'
That doesn't work, get error that says "WebFOCUS was called with an invalid request. "
The URL looks like this when I do what you mentioned: webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01'%20%7C%20'&'%20%7C%20'IBIAPP_app=xxxxxx?IBIF_ex=fmanagers_open_po_report_summary-group&CLICKED_ON=®ION=100
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&IBIAPP_app=xxxxxx
To have WebFOCUS treat an embedded ampersand as such and not as a variable, use the pipe character:
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&|IBIAPP_app=xxxxxx
I don't know if that will solve your problem, but that is the correct method to ensure the ampersand does not mess WF up.
Meanwhile, you only require the server name if you have multiple servers defined in your WebFOCUS environment, and you only require the app name if the app folder is not part of the app path.
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
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&IBIAPP_app=xxxxxx
To have WebFOCUS treat an embedded ampersand as such and not as a variable, use the pipe character:
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet?IBIC_server=BIWC01&|IBIAPP_app=xxxxxx
I don't know if that will solve your problem, but that is the correct method to ensure the ampersand does not mess WF up.
Meanwhile, you only require the server name if you have multiple servers defined in your WebFOCUS environment, and you only require the app name if the app folder is not part of the app path.
This ALMOST worked.
The only problem left now is that it is adding a ? mark instead of the & before the fex name. It auto adds ?IBIF_ex=, but it needs to be &IBIF_ex= in order for it to work. Any Ideas on how to make it put a & and not a ?
Here's a working example. As Ginny suggested, pass the server and app in variables:
SET FOCEXURL=http://webfadhsec01.xxxxxx.com/ibi_apps/WFServlet
-RUN
TABLE FILE CAR
PRINT COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, FOCEXEC=BID2 ( \
COUNTRY=COUNTRY \
IBIC_server='EDASERVE' \
IBIAPP_app='demo' \
), $
ENDSTYLE
END
-RUN
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