Focal Point
[SOLVED] Trouble Passing Multiple Values into HTML Wrapper

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

December 03, 2018, 04:12 PM
Brandon Andrathy
[SOLVED] Trouble Passing Multiple Values into HTML Wrapper
Hello,

I am using 8201 and have a portal that uses an HTML wrapper to have multiple reports in a single window. I have the Requests/Data Sources specified with each .fex to populate the parameters I want, but then if I select multiple values in a drop-down box, only one of the parameters passes into the HTML Wrapper. Has anyone run into this? Does anyone know what might be happening here?

To show an illustration of what I have happening:

 

COUNTRY Drop-Down Box
 ---
| X | United States
 --- 
 ---
|   | Canada
 --- 
 ---
| X | Mexico
 --- 

.Fex

&COUNTRY equals United States 



Is there a property in the HTML file that I need to select in order for multiple parameters to populate in an HTML Wrapper? I'm using Output Widgets. Is this a tasks and animations issue?

Thanks in advance for your help!

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
December 03, 2018, 04:55 PM
FP Mod Chuck
Brandon

When you created the fex with the WHERE condition on the parameter did you choose a variable type of Multiselect OR? If not you need to do that and recreate that object on the html form.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
December 03, 2018, 06:12 PM
Brandon Andrathy
Hey Chuck,

Thank you very much for your reply. I created the .fex in text editor so the parameters that populate in the Requests/DataSources just come from unresolved parameters in the fex. I Went into the GUI to get a sense of what you are talking about. Would the code for something like this be the parameter: &COUNTRY(OR(COUNTRY, COUNTRY)).COUNTRY.

If I look at the HTML and go to the parameters tab, I see my unresolved parameters and there is a Multi-Select option. however when I try to select OR for a parameter, it doesn't register after I click out of the parameter. Is this a glitch or am I doing something wrong?


WebFOCUS 8204
December 03, 2018, 07:35 PM
FP Mod Chuck
Hi Brandon

The syntax you have looks correct to me. In order to fix your html you need to delete the entry under the Requests/DataSources for the fex and make sure parameter is no longer listed as well as the listbox. Then add the fex back under the Requests/DataSources which should show the parameter and how you want it used, then it should now be treated as a multi select.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
December 04, 2018, 12:22 PM
Brandon Andrathy
Wow, that worked. Thanks a lot!! Really confusing and kind of labor intensive to test but worked like a charm.

Really appreciate your help!

- Brandon


WebFOCUS 8204