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.
I built a html launch page in HTML composer with start and end date fields and a dynamic dropdown of sales channels list. The values entered or selected in these 3 fields should be passed on to 1 of 3 reports (fexes) linked to this html page. I built 3 push buttons: 1 for each fex, so that user can enter dates and select a sales channel from the dropdown list and then push a button to run the report (fex).
My dynamic dropdown list query looks like this: WITH SELECTED AS (SELECT '' AS P_SALESCHANNEL FROM DUAL ) ,AEP_CHANNEL_LOOKUP AS (SELECT '' AS P_SALESCHANNEL FROM AEP.CHANNEL_LOOKUP ORDER BY CHAN_FULL_NAME ASC ) SELECT P_SALESCHANNEL AS "Sales Channel" FROM SELECTED UNION ALL SELECT P_SALESCHANNEL AS "Sales Channel" FROM AEP_CHANNEL_LOOKUP
This works fine to populate the dropdown list with all the expected values... But when I select a value from the list ex. COSTCO, the value that passes to the fex is something like this '' I want only 'COSTCO' to be passed to the fex .. How do I do that?
Also, will having 1 (common) set of start & end dates work for all 3 fexes? will they each need separate date fields (text boxes)?
Thanks for all your help in advance!This message has been edited. Last edited by: Nova27,
In the HTML composer, in the control's properties there is an option : " Multiple : Add quotes ". This is where you can chose to bind the selected value(s) with or without quotes.
Is that what you're looking for ?
When you're trying to show us specific example, put it between the (without the space after word "code")
[code ] [/code ]
tag. Last button from the message options. It will keep your typing as is.This message has been edited. Last edited by: MartinY,
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
What is the result if you add the 2 commands as Martin suggests.
At the beginning of the report focexec add in
-?& -EXIT
Review the list of variables and see what you get for the one in question.
You can add a screenshot to your post for us to review - FAQs - scroll to find how to add an image.
If you are indeed seeing more that just the text COSTCO in your variable then please open a case and an IBI Technical rep will gladly assist you with this - Technical Support - select Case Management
Thank you for participating in the Focal Point Forum! Tamra Colangelo Focal Point Moderator Information Builders
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Posts: 487 | Location: Toronto | Registered: June 23, 2009
The result for the variable is still that.. entire HTML code shows up in the variable instead of just the value 'COSTCO'...
I tried to post an image to the website you listed, but our company's network doesn't let me open that site.. neither can I open Dropbox.. so can't post an image right now...
Also try to perform the following : 1- Create a backup of your HTML (save as will do the job) 2- Delete the control that have the issue from your HTML 3- Save your HTML 4- Re-open "cleared" HTML and create back your control, re-map it to your variable. 5- Test that new HTML. Does issue is still there ?
Otherwise yes, you should open a case since the error may be anywhere in your HTML.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
For the record, here's the code Nova27 attempted to post:
WITH
SELECTED AS
(SELECT '<option value="*" SELECTED>All Channels</option>' AS P_SALESCHANNEL
FROM DUAL
)
,AEP_CHANNEL_LOOKUP AS
(SELECT '<option value="'||TRIM[CHANNEL)||'">'||CHAN_FULL_NAME||'</option>' AS P_SALESCHANNEL
FROM AEP.CHANNEL_LOOKUP
ORDER BY CHAN_FULL_NAME ASC
)
SELECT P_SALESCHANNEL AS "Sales Channel" FROM SELECTED
UNION ALL
SELECT P_SALESCHANNEL AS "Sales Channel" FROM AEP_CHANNEL_LOOKUP
Nova27 -- It might help us if you showed how you combined the result of that query with your static HTML. Perhaps post a larger snatch of the launch page HTML from View Source -- escaped within code tags (use the < / > icon)
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005