[SOLVED] passing parameters to HTML Layout Painter v7.1.3
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
March 20, 2007, 10:46 AM
Lusheng
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.
March 20, 2007, 11:08 AM
STEPH
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;"
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
March 20, 2007, 12:08 PM
STEPH
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
December 30, 2008, 11:12 AM
vaayu
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.
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