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.
Hi, I've been asked to put the output of a new sql server stored procedure to our current web focus product 7.6.1. I do have several reports that run off of stored proc(They're basically simple). However, this one is different from the others - There can be up to 4 different output based on the criteria in the stored procedure(The main stored proc will call another procedure for the output). To make this simple, a user logs into web focus and his scorecard will display based on his role. The are 4 different roles leading to 4 different outputs. Would I have to somehow call the four different outputs using some sort of if/then logic? Sorry, I generally create simple focus reports...Nothing to this extent...But willing to learn. I'm assuming I will have to create metadata for each separate output.
Thanks for any help that can providedThis message has been edited. Last edited by: Kerry,
I've never worked with a stored procedure of the type you describe, but I would try creating a WebFOCUS synonym (metadata) for the stored procedure and then use regular WebFOCUS TABLE and WHERE statements to use it. Take a look at this documentation: "Generating a Synonym for a Stored Procedure" and "Creating a Report Against a Stored Procedure".
Joe, I have been working with SQL Server for over 12 years and I understand what you are after. This is a GREAT EXAMPLE FOLKS of creating dynamic reports at run time. Joe, may I suggest that you have a look at the following article http://www.informationbuilders.../FlexibleReport.html and then go to my website http://www.infogoldusa.com for the code. When you have a look at the code, you will see that there are FOCUS amper variables that determine the output of the report. I am more that willing to work with you to get your report up and running. sincerest regards Steve
Below is another approach where you can skip from creating synonym.(Adapter for MS SQl server is needed).
1. Use EX command to invoke Stored procuded. Syntax: EX package_name.Stored procedure ¶m1, ¶m2... (Parameters passed to Stored Proc Parameters will take care of logic for displaying data as per roles.)
2. TABLE FILE SQLOUT PRINT * ON TABLE HOLD AS Hold_file. END -* Do what ever you want with this Hold_file.
Posts: 36 | Location: Boston MA | Registered: October 12, 2006
Thanks for the tips! Stefaans, I'll check out your site over the next few days and let you know what helps me. I'll be contacting you for help..Thanks for the offer!