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     [SOLVED]running javascript after and object is loaded on a form

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]running javascript after and object is loaded on a form
 Login/Join
 
Guru
posted
In AppStudio v8.0.9, I want to create javascript to be executed after an object is loaded with data during the loading of a forms. I have an object loaded via a datasource when a form is created. I show or hide other objects on the form depending on the value of the object. The object name is editDashboard.

I know I have to put the javascript in the Embedded Javascript area, but I do not know what the name of the function/event is. In DevStudion I was able to click on the object event and it started the function.

This is the first time i have had to do it in AppStudio v8.0.9 and I am lost.

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


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Master
posted Hide Post
Click on the control or component, then go to the Properties panel, then click on the yellow lightning bolt. There should be an "on load" input box there. Click on the right side of the input box and the skeleton of a JavaScript function will be created.

Then go to the Embedded JavaScript area to program inside the skeleton code.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Guru
posted Hide Post
Lightning strikes and the light bulb turns on! Thanks that is the answer I was looking for.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report 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     [SOLVED]running javascript after and object is loaded on a form

Copyright © 1996-2020 Information Builders