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.
What's the new methodology in using Ampersands in Values?
Case in point: I have a drop down list with "AT&T" in it. It displays as "AT&T" in the drop down list and is passed to the fex as "AT&T" which produced the "A required parameter is missing" message indicating that the value for the "&T" variable is missing (Actually it displays "Detail: &T" when clicking on the word "parameter" in that message.)
I know I'm missing something and pretty sure that this "issue" is accounted for in 8202. So, what's the trick? I'll RTFM if I knew which on had this information.
What's the context of your question? HTML Composer, Autoprompt or Designer page? Also, what does the WHERE test look like? I can't remember anything changing when it involves & in the value.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
The value is coming in from a source table as "AT&T" and I don't have the option to change that. Thus, it needs to accounted for upon population of the drop down list and as it's being passed to the fex as a parameter.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I wonder if you couldn't do something like the following
1. Unbind the variable from the drop-down. 2. Add a hidden input and bind the drop down variable to that. 3. Create an on_change event for the drop-down. 3. When the value changes, trap it and put double quotes around the value.
var v1 = IbComposer_getCurrentSelection("combo_box1");
var v2 = '"'+ v1 + '"';
4. Load it into the hidden input which return it to the procedure on refresh.
This is the result of using a "Filter Page" in a portal. The drop down list is populated via sources file which has several values containing the ampersand.
My filter line should look like this:
WHERE MyField EQ 'ABC' OR 'AT&T' OR 'DEF' OR 'GHI'
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
That sounds probable and I'll check it out while waiting for an 'out-of-the-box' solution, as per the client's desires. So, im the meantime, I'll work with your idea.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Perhaps you can replace any occurrences of '&' with '&|' in your dropdown list?
You could either do that by adding a virtual field to your data source MFD or by adding a DEFINE or COMPUTE to an 'external procedure' for your control.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Perhaps you can replace any occurrences of '&' with '&|' in your drop down list?
That's kind of what pav said, above. I'll check it out as a DEFINE field. Any idea as to what variation is displayed after selecting it? As seen in this image , Or link to it here.
PS: It gets passed to the associated fex correctly... It's just not intuitive to the users, especially execs, CxOs.This message has been edited. Last edited by: Doug,
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
This issue has been resolved with the installation of the latest maintenance release available, WebFOCUS 8202M Gen 60 (Done on Jun 7 2018).
This particular issue was resolved in Gen 8202M Gen 24.
If you have any issues with this, ask IB to refer to Case Number: 180424068 Customer Label: Variables, Values, and Ampersands Issue: Drop down list has "AT&T"
Enjoy the progress that IB is making with WebFOCUS, App Studio, Portals, and beyond. Next: 8203.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005