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     [CLOSED] &FOCEXURL and Running Fex using a URL from a PDF report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] &FOCEXURL and Running Fex using a URL from a PDF report
 Login/Join
 
Platinum Member
posted
Instead of repeating fexes over domains, most commonly used routines and drill fex are kept in a common folder to maintain clean code.
Solution: Use of -MRNOEDIT to run the common code from EDASERVE and to run common drill fexes from EDASERVE , use of -SET &FOCEXURL to point URL to fex in the common code folder
PROBLEM: PDF reports headings allows user to drill to get an Excel version of the same report. ( It’s drilling with parameters to itself ) It works if all code is in the same domain, but since the common code is now on a separate location, this drill to itself does not work because of the SET &FOCEXURL pointing to different area. Users will access reports via ReportCaster Library, all these report will be in PDF format, this report and others will have a standard drill fexs that will be in the common code folder on EDASERVE and that part works.
How can I get this report to run, after it has been run in the PDF format, but now in an excel format using the same parameters .
Active Report is not available here.
I am trying to create a URL in the heading but it’s not working.. Any help would be appreciated
Thanks
CODE for displaying URL in the heading of PDF report
When I run it, gives the following error
(FOC295) A VALUE IS MISSING FOR: &IBIMR_action
-SET &PATH='http://wfserver/ibi_apps/WFServlet?';
-SET &PATH=&PATH | 'IBIMR_domain=develope/develope.htm' | '&';
-SET &PATH=&PATH | 'IBIMR_folder=#larryg908ioz' | '&';
-SET &PATH=&PATH | 'IBIMR_action=MR_RUN_FEX' | '&';
-SET &PATH=&PATH | 'IBIMR_subaction=MR_STD_REPORT' | '&';
-SET &PATH=&PATH | 'IBIMR_fex=app/fadepsm.fex';
-SET &PATHURL = ''|'Export to Excel';

This message has been edited. Last edited by: <Kathryn Henning>,


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
Guru
posted Hide Post
Can you post your code? You may need to pass some of your MRE parameters to the fex and rebuild the links from the data server back to the MRE in a different way.


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Expert
posted Hide Post
By the way, it's not
-SET &FOCEXURL

but
SET FOCEXURL = path


quote:

The FOCEXURL parameter runs and executes drill downs remotely. The drill down program can be on your local machine or on a remote machine.

The syntax is:

SET FOCEXURL = path

where:

path - Is the location of the WebFOCUS Servlet, CGI, or ISAPI. The default path for Servlet is /ibi_apps/WFServlet. The default for CGI is /cgi-bin/ibi_cgi/ibiweb.exe and for ISAPI is /cgi-bin/ibi_cgi/webapi.dll.


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
Guru
posted Hide Post
Well, he may have set &FOCEXURL as a client parameter. I use it in PDF drilldowns:
 
-SET &URL = &URL_PROTOCOL | '://' | &SERVER_NAME | &FOCEXURL | '&|IBIF_ex=employee/app/employeedetailcompound&|CLICKED_ON=&';
 

If he is building the URL that way, he can set the variable to whatever he wants


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Platinum Member
posted Hide Post
Thank you J and Francis..
I worked out the issue of having;
A) drill to a fex on the Server where we keep common routines and drills AND
B) drilling to a fex in MRE (in this case on itself) from within the same FEX, by using the below code.. BUT now I have a different issue.. The report is getting run by submitting through a HTML launch page to Report Caster Job(using DTSRUN)
its losing the values for IBIMR_Folder and IBIMR_Domain after it gets to Report Caster.. It works fine when Report Caster is not in the picture...

Here is the relevant code snippets

-* B Setup FEXURL to run drill fex from a common folder on the server
-SET &FOCEXURL='/ibi_apps/WFServlet?' | '&';
-SET &FOCEXURL=&FOCEXURL | 'IBIAPP_app=commonco' | '&';
SET FOCEXURL=&FOCEXURL
-* For Drilling to MRE Folder (back to itself when running excel ver, after the PDF ver has been created )
-SET &RAND = EDIT(HHMMSS('A8'),'99$99$99');
-SET &WFSERVER = 'xxxxxxxx';
-RUN
.
.
-* MRE Drill Section
.
.
TARGET='_blank',
-* Begin drill to MRE fex
URL=http://&WFSERVER.EVAL/ibi_apps/WFServlet?(IBIF_ex='&IBIMR_fex' \
IBIMR_fex='&IBIMR_fex' IBIMR_domain='&IBIMR_domain' \
IBIMR_folder='&IBIMR_folder' IBIMR_action='MR_RUN_FEX' \
IBIMR_sub_action='MR_STD_REPORT' IBIMR_drill='RUNNID' IBIMR_random='&RAND' \
IBIMR_flags='') \
-* End drill to MRE fex
LOCPARAM=&LOCPARAM.QUOTEDSTRING \
.
.
-* Server CommonCode Drill Section
.
.
STYLE=UNDERLINE,
FOCEXEC=XXXX_DRILL( \
HOLD_RAN='&HOLD_RAN' \
PAR_LOCATION6=FAM_LOCATION6 \
PAR_CLASS=FAM_CLASS \
.
.

Thanks


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 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     [CLOSED] &FOCEXURL and Running Fex using a URL from a PDF report

Copyright © 1996-2020 Information Builders