Focal Point
[CLOSED] Working with parameters

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

February 09, 2010, 05:26 PM
nsk110483
[CLOSED] Working with parameters
Hi All,

Could anyone please explain the difference b/w parameters created in composer and created outside composer.
I have created few parameters in composer and few from the fex.
The ones created through fex: the values are passing to the parameters based on the selection from launch page
The ones created in composer: I select different set of values from launch page, but the parameter is only taking the value declared as -DEFAULT in the fex. It should be taking the values I select from the launch page.

What is wrong. Have I dont anything wrong while creating the parameter in composer. What should I be doing.

Please help, I am new to WF.

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


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
February 10, 2010, 03:32 AM
GamP
When you use the compsoer, variables you create there have to be bound to an &variable. If that has not been done variables will not be transferred to webfocus.
Binding variables is done automatically when you include a fex with variables in your composer.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
February 10, 2010, 11:54 AM
nsk110483
[QUOTE]When you use the composer, variables you create there have to be bound to an &variable. If that has not been done variables will not be transferred to webfocus.
QUOTE]

How to do this?


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
February 10, 2010, 12:25 PM
GinnyJakes
Put the variables in your focexec first. Then open the HTML Composer and add a button. Reference the procedure and your controls will show up.


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
February 10, 2010, 12:31 PM
nsk110483
quote:
Originally posted by GinnyJakes:
Put the variables in your focexec first. Then open the HTML Composer and add a button. Reference the procedure and your controls will show up.


I guess this is creating the parameters outside composer.

I want to know about the ones which are created in the composer.


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
February 10, 2010, 05:54 PM
GinnyJakes
I was replying to your quoted post as to how to do the binding.


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
February 10, 2010, 06:07 PM
nsk110483
quote:
Originally posted by GinnyJakes:
I was replying to your quoted post as to how to do the binding.


No issues.

If you know how to do the same in the composer then that would be of great help. I know how to do it from fex


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
February 11, 2010, 03:54 AM
GamP
There is no documentation on how to bind variables after the fact.
It can be done, did it myself, but I forgot how to do it, because it is so much easier and simpler to first create the fex with all needed variables in it and then hook it into the html composer.
You can even change the fex after the fact and reload it in the composer (throw out the old one and import the new). It will detect any changes in the presence of variables and act upon it.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
February 12, 2010, 09:41 AM
David Glick
It is documented starting on page 85 of the HTML Composer manual for 76 how to create parameters within the HTML Composer and how to bind them.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
February 12, 2010, 03:00 PM
GamP
David, thanks for correcting me. Apparently my search wasn't extensive enough to find it. But as I said, nowadays I just re-import the fex and that's a lot easier for my situations.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988