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.
how we can pass a parameter from the caster schedule to a report?
For example, if we have a query in a report that is using partner_id=109 in the WHERE clause and we want to make this report generic and pass in the partner_id when it is casted How can we do that?
A working example would be helpfulThis message has been edited. Last edited by: <Kathryn Henning>,
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
in 7, its pretty straightforward. Open schedule Open Tasks panel click on the task click on Edit click on Advanced... you'll see the Parameters tab knock yourself out.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Originally posted by susannah: in 7, its pretty straightforward. Open schedule Open Tasks panel click on the task click on Edit click on Advanced... you'll see the Parameters tab knock yourself out.
Thanks susannah for your reply we are using 8.0.08
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
Can't you find the parameters tab, as susannah suggested, in 8?
Rifaz Thanks for your reply There is the parameter tab, but how can i pass the parameters to report? I meant to say how can i include them in WHERE Clause?? I can put the static value there but It don't prompt for value, which i want it to be set as dynamically.This message has been edited. Last edited by: Mubbashir,
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
Schedule a fex, goto parameters tab and click Values & choose your values. TABLE FILE CAR SUM SALES SEATS BY COUNTRY BY CAR WHERE COUNTRY EQ &COUNTRY.(OR(FIND COUNTRY IN CAR)).Country. END
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013
Originally posted by Rifaz: Schedule a fex, goto parameters tab and click Values & choose your values. TABLE FILE CAR SUM SALES SEATS BY COUNTRY BY CAR WHERE COUNTRY EQ &COUNTRY.(OR(FIND COUNTRY IN CAR)).Country. END
Rifaz Thank You What should be the format of multiple values? Either it should be comma separated or any other format?
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
Originally posted by Rifaz: It appends OR based on your WHERE. I'm afraid, i understood your query. You can have multiple conditions if you want to add parameters.
Rifaz i tried the way you told me it works but actually what i want to say is it there any way around where the report can prompt for value and i can enter a dynamic value instead of specifying it in parameter tab?
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
is there any way around where the report can prompt for value and i can enter a dynamic value
You meant, after scheduling?
Report Caster works in the way, when Reporting server runs procedure, it retrieves the data, creates the report & returns to the Distribution Server which distributes the report.
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013