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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Measure Loader
 Login/Join
 
Member
posted
Hi,



I’m using meas_loader_load.fex to load data from a custom source table(duplicate of measures_entry table) using the following code :



document.amp_measures_configure.method = "POST";

document.amp_measures_configure.action = getWFScriptName() ;

document.amp_measures_configure.target = "frameResults" ;

document.amp_measures_configure.MSMESE.value = "&PM_MEAS_SRC_MEASURE_SERIES_Edit" ;

document.amp_measures_configure.IBIF_ex.value = "meas_loader_load" ;

document.amp_measures_configure.IBIF_cmd.name = "IBIF_cmd1" ;

document.amp_measures_configure.RND.value = Math.random();





document.amp_measures_configure.submit();



Is there any way to determine whether the load was successful. It does return an error message which is then displayed in the ‘frameResults’ frame, but is there any way to catch this error. My problem is as follows:



1. The data needs to be approved by the user before it can be loaded into pmf.

2. Once it’s approved a custom table is updated stating that the data field for that certain time period has been approved.

3. Do call to meas_loader_load.fex.

4. If the load failed, I need to ‘roll back’ my changes on the approval table and ‘un-approve’ the data field.

5. Problem : don’t know how to programmatically determine if the load failed.



Any advice will be much appreciated…



Kind Regards,

Wihan


WebFOCUS 7.6.5
Windows XP service pack 2
 
Posts: 20 | Registered: August 08, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders