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] Passing parameter from maintain to fex.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing parameter from maintain to fex.
 Login/Join
 
Guru
posted
Hi,
I have a maintain screen in which there is a dropdown box which contains the alpanumeric values based on which data is populated in Grid table which is updatable.In the same screen there is a "Generate Report " button which will generate a report in xls fromat based on the value in dropdown box.So, I need to call a fex file when user press "Generate Report" button and passes the parameter which will contain the value in the dropdown.Can anybody tell me how to achieve this in Maintain?

Thanks in advance.

This message has been edited. Last edited by: Kerry,


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Master
posted Hide Post
There are two easy ways to kick off a report from a Maintain procedure. The first is with JavaScript:
// JavaScript
idEditBox1_val = document.getElementById(“EditBox1”).value
nameEditBox1_val = document.getElementByName(“EditBox1”).value
url=”http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=Rep1” + “&var1=” + idEditBox1_val + “&var2=” + nameEditBox1_val;
window.open(url);
}

Here Rep1 is the report and var1 and var2 are passed

and the second is with Maintain code:
EXEC rep1 From var1 var2

The question may be how to get the values into the parameter fields. In either case, you can copy any selection from the drop down into an invisible field on the form, and pass it. If you are using JavaScript you may just be able to grab the value off the drop down and pass it.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Guru
posted Hide Post
Thanks Mark. It helped.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report 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] Passing parameter from maintain to fex.

Copyright © 1996-2020 Information Builders