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 would like to have the default parameters actually show the amper values of 20160403 and 20160430 in this example. The values are passed as you can see in the -TYPE output, but I would like to see those values in the prompt that the end user will see to give them the option to change the date if they would like.
This message has been edited. Last edited by: <Emily McAllister>,
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
The auto prompt is because you don't have a value in it. If your wanting to prompt with default values, then you need to build your page to prompt via your own code, then pass the values to use.
I know. But it's handcoded. If you just make an .fex like:
TABLE FILE CAR
SUM FST.CAR
BY HIGHEST 1 COUNTRY
ON TABLE PCHOLD FORMAT XML
END
You can do the rest in the HTML-composer GUI. ( without coding ) And you can even reuse it for other HTML-screens.
... Or do it like this: I use this to drill from a list to a HTML-prompt screen and auto-run. The user can also directly start the HTML-prompt screen without auto-run.
-DEFAULTH &SELECTED_LIST_VALUE = '';
-* prevent auto-prompting
-HTMLFORM IBFS:/WFC/Repository/d1frsupp/std_reports/1026/1026_artikelzoeker.htm
-IF &SELECTED_LIST_VALUE NE '' OR ' ' THEN CONTINUE ELSE EXIT;
-HTMLFORM BEGIN
<SCRIPT LANGUAGE='JSCRIPT'>
document.getElementById('input_user_value').value = '!IBI.AMP.SELECTED_LIST_VALUE;';
document.getElementById('form1Submit').click();
</SCRIPT>
-HTMLFORM END
...It can be done in all sorts of ways.
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
I'm a big components of "handcoding" or find yourself limited to UI restraints and have your job replaced by a BA as it's no longer development if your relying on something to write the code for you.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server