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] passing parameters to HTML Layout Painter v7.1.3

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] passing parameters to HTML Layout Painter v7.1.3
 Login/Join
 
Member
posted
I have a 5 reports embedded in a resource layout file (.htm) and 3 graphs (.fex) linked to the same .htm file. All reports will receive the same amper variable. I am attempting to pass the amper variable through the URL by appending it on the end of the URL. So far this has not worked.


I've tried the usual method: URL + ?variable name= value

Does anyone have any other suggestions?

Let me know if you need anymore information.

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


Steph
 
Posts: 3 | Registered: November 22, 2005Report This Post
Platinum Member
posted Hide Post
How about to assign the parameters to the controls (such as textbox), and your focexec within html can get the values from the controls. You can hide the control if you don't want users to see.
 
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003Report This Post
Member
posted Hide Post
I was able to set up a hidden parameter in the layout painter. I set it to a sample value and it worked.

How do I set up the URL to pass the parameter to this hidden field? Do I have to set up the hidden field differently?

when I use this value
input name="PE" value="!IBI.AMP.PE;"

and the url
http://server/approot/folder/file_name.htm?PE=00000711

the result is:
0 NUMBER OF RECORDS IN GRAPH= 0 PLOT POINTS= 0
NO DATA TO GRAPH


because the value of the field is :="!IBI.AMP.PE;

I've also tried:
input name="PE" value="&PE"

In my reports the amper variable is &PE

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


Steph
 
Posts: 3 | Registered: November 22, 2005Report This Post
Expert
posted Hide Post
quote:
http://server/approot/folder/file_name.htm?PE=00000711

You cannot pass parameters to an HTML page in this manner.

!IBI.AMP.ampname; is WebFOCUS language.

The only way I know to pass variables to an HTML page is to use cookies and/or JavaScript.

You can pass parameters to a WebFOCUS program that contains HTML. The URL would look like this:

http://server-name/ibi_apps/WFServlet?IBIF_ex=pgmname&PARM1=XXYYZZ&PARM2=112233


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
Member
posted Hide Post
Thanks a lot. I didn't have to use javascript. I kept the hidden field and used your suggestion for the URL.

works great!


Steph
 
Posts: 3 | Registered: November 22, 2005Report This Post
Guru
posted Hide Post
Hi,
I have a very similar situation and have tried to include html by saying -HTMLFORM in a fex and SET &MYVAR to something and it didnt work. I also have MYVAR as a hidden input in the html.

Please help..

Thanks in advance


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Virtuoso
posted Hide Post
That's not much to go on. Could you create a new posting and explain your problem and attempted solution(s) a little more?


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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] passing parameters to HTML Layout Painter v7.1.3

Copyright © 1996-2020 Information Builders