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] HTML frontend calling drilldown fex, querystring error.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] HTML frontend calling drilldown fex, querystring error.
 Login/Join
 
Master
posted
I have an HTML front-end that calls a fex to display a simple PDF report. The PDF report is drill-through enabled by calling another fex. The WebFocus components work fine together, but when the HTML is in front, everything breaks down. The process runs perfect when called from MRE.

I have ironed out most of the issues, but I am still having problems with 2 drop-down variables. In the first fex, if I put a -TYPE on these variables and EXIT at the beginning, they display fine with the correct values. If I don't do that, they display the appropriate values in the Fex at the appropriate times. When it gets to the querystring portion, it doesn't display the variable values. No error, just no variable displayed. The variable I am using in the query string display is the same as I am -TYPE ing above.

Does anything jump out at you?

-ABT

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


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
I'm confused. Are you talking about controls not being populated on an HTML launch page? If yes, is the master you are looking at to populate the boxes in the application path?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
No, the HTML page works fine all controls are displayed, populated and send appropriate values to the destination FEX file.

Once in the destination FEX file, I can -TYPE the variables passed to see they made it and what their values are. All is fine in this step also. At the bottom of this FEX, I structure my output as a drill-through. In setting up the destination and it's QueryString parameters, several of the variables are acting as if they are empty.

  
TYPE=SUBFOOT, HEADALIGN=BODY, JUSTIFY=RIGHT, STYLE=BOLD, $
TYPE=TABFOOTING, HEADALIGN=BODY, JUSTIFY=RIGHT, STYLE=BOLD, $
TYPE=DATA, COLUMN=N1,
     FOCEXEC=app/DDDRLPRC.fex(REPORTTYPE='ORDERTYPE' PROVNAME=&PHYSID BEG1=&BEGDATE END1=&ENDDATE PROVSTAT=&PROVSTAT PROVROLE=&PROVROLE ORDERTYPE=HSZC_ORDER_TYPE.NAME PROCNAME=PROC_NAME),TARGET='_blank',$
TYPE=DATA, COLUMN=N2,
     FOCEXEC=app/DDDRLPRC.fex(REPORTTYPE='PROCNAME'  PROVNAME=&PHYSID BEG1=&BEGDATE END1=&ENDDATE PROVSTAT=&PROVSTAT PROVROLE=&PROVROLE ORDERTYPE=HSZC_ORDER_TYPE.NAME PROCNAME=PROC_NAME),TARGET='_blank',$
ENDSTYLE


&PROVSTAT and &PROVROLE are represented as drop-down items on the HTML page. Again, when I -TYPE the vars above, they show the correct data. When looking at the output of the PDF (hovering over the links), I can see the values are not listed.

-ABT

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


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Master
posted Hide Post
Well, it was supposed to bold that piece of text, but it looks like you can't do that within the CODE block. I'll remove it to avoid confusion.

I was calling attention to those being the variables that were breaking.

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
I just realized that! Yes, unfortunately, you cannot embed other tags within the code tags.

The styling line may be too long, try breaking it into multiple lines using the \ continuation character. Also, all alpha strings passed as values in the drill-down link must be within quotes:

TYPE=DATA, COLUMN=N1,
     FOCEXEC=app/DDDRLPRC.fex(\
     REPORTTYPE='ORDERTYPE' \
     PROVNAME='&PHYSID' \
     BEG1=&BEGDATE \
     END1=&ENDDATE \
     PROVSTAT='&PROVSTAT' \
     PROVROLE='&PROVROLE' \
     ORDERTYPE=HSZC_ORDER_TYPE.NAME \
     PROCNAME=PROC_NAME \
     ),TARGET='_blank',$


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
Master
posted Hide Post
Francis,
Quoting the variables did it. It's working just perfectly.

Thanks!
- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report 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] HTML frontend calling drilldown fex, querystring error.

Copyright © 1996-2020 Information Builders