Focal Point
[SOLVED] PROB:Drilldown link in PDF is missing full webapp srvr name

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8717029016

October 10, 2011, 05:17 PM
Rhonda
[SOLVED] PROB:Drilldown link in PDF is missing full webapp srvr name
I have a FEX that creates a report in PDF format. The PDF report has drillsdown to another report. Instead a message is displayed stating that Adobe will not allow the website to connect.
This is displayed at the top of the message /ibi_apps/WFServlet?......
instead of http://webapp_srvname/ibi_apps.
We have redirect turned on for PDF files.
When I run it in HTML the drilldown works perfectly.

What could be causing this security block? I went into Trust Manager in Adobe and made sure the URL was entered correct to Always Allow Access.
Brlow is the code for the drilldown

Windows 7.7.03, Windows 7, IE 8, Adobe 10.1

TYPE=DATA, COLUMN=N5,
TARGET="_blank",
PSTL_ST_AB=N7 \
STAT_CODE=N8 \
PROC_D_FLT = '&PROCDFLTS' \
DEAD_RSK_FLT = '&DEADRSKFLTS' \
OR = '&OR' \
TIME_PERIOD = &TIME_PERIOD \
TYEAR = &TYEAR \
STATE_NAME = N1 \
STATUS_STR = '&STATUS_STR' \
STATUS_NAME = N4 \
DISP_TPER = '&DISP_TPER' \
DRILL_LEVEL='HOMEOFFICE_DETAIL'),$

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


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
October 11, 2011, 07:34 AM
Tom Flynn
PDF or EXCEL Drill


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
October 12, 2011, 09:52 AM
Rhonda
Thanks for the recommendation, it pointed me in the right direction. This is the code that I ended up having to include at the beginning of the FEX file that has the drill down.
-***********************************************************************************
-SET &&SERVER = 'http://abc-dd' ;
-SET &&FOCEXURL ='/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&|IBIC_server=Cluster_Name&';
-SET &DRILLURL=&&SERVER||&&FOCEXURL ;
SET FOCEXURL = &DRILLURL
-***********************************************************************************
I am in 7.7.03 on AIX with load balancing.
Note the concatenation and the ampersand in the IBIF_webapp declaration.
Don't know where this is documented, the tech person I worked with advised me what was needed.


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
October 12, 2011, 09:59 AM
Tom Flynn
Hi Rhonda,

Glad it worked for you.

1 recommendation:

What happens if they change server IP's. Happens all the time! Put &&SERVER on the server so you don't have to change EVERY SINGLE FEX that has a drill to PDF/EXCEL; the only change will be in 1 spot...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
October 12, 2011, 03:39 PM
Rhonda
Problem Solved: Yes, we were thinking in the sae vein. Will be testing this afternoon!


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
October 13, 2011, 08:57 AM
Francis Mariani
If you add a few variables to your Custom Settings, You can avoid hard-coding the server name...


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
October 13, 2011, 09:13 AM
Greg G
here is a sample of code I have used to set the FOCEXURL

-SET &FOCEXURL='/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps' | '&';
-SET &FOCEXURL=&FOCEXURL | 'IBIC_server=EDASERVE' | '&';
-SET &FOCEXURL=&FOCEXURL | 'IBIWF_msgviewer=OFF' | '&';
SET FOCEXURL=&FOCEXURL