Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Loading a Chart on an HTML Page when the page initially loads

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Loading a Chart on an HTML Page when the page initially loads
 Login/Join
 
Platinum Member
posted
I want to have the chart come up with a default value in a parameter but can't seem to get this to work. For example I have two values for the parameter &Session, they are Fall and Spring. I want the default to be Fall when the Chart loads on an HTML page but I want the user to be able to select Fall or Spring from the Drop down on the HTML page to be able to switch it.

Initially I created the HTML with &Session in it so that a parameter was put on the HTML page and associated with the Filter. This all worked and the chart reflected the drop down selects.

Next I went go to the Tasks and Animation tab under the chart properties on the HTML page and set the Task to be load with a trigger type Load and the requests/actions to be External procedure/chart1 with a target type Window. When I tested this the chart does not load/display when the page is loaded.

I was going to put the following code in the chart.fex at the beginning to make the default value for &Session be 'Fall'. But since I can't get the chart to load on it's own I haven't gone further with this.

 -DEFAULTH Session='Fall'; 


Any hints on how to do this would be greatly appreciated.

This message has been edited. Last edited by: <Emily McAllister>,


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Expert
posted Hide Post
The code s/b, exactly:
-DEFAULTS &SESSION = 'Fall'

no semi-colon

DEFAULTH "hides" the parameter from the initial execution...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Platinum Member
posted Hide Post
Tom thanks, and the DEFAULTS works when you run the chart .fex, but it does not work when you put that same chart .fex on an HTML Page and run the HTML page.


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Expert
posted Hide Post
Hi Trudy,
Put this at the very top of the fex:
-SET &ECHO=ALL;

Then, go to the HTML page and run it. When it doesn't load, right-click and view source.
Look for an error...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Loading a Chart on an HTML Page when the page initially loads

Copyright © 1996-2020 Information Builders