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 everyone, I have an application design question that I hope someone can help me with.
My client wants a variation on the save parameters/Share Reports concept. They want their users, from a parameterized launch page, to be able to save their parameters for a given report as a FOCEXEC that can be displayed as a report link on a page. The goal is to allow all those saved iterations of a report to be presented to all the users in the same MR group in a simple list Hyperlinked reports in a Dashboard tab/page.
It seems possible, but I just need help understanding how to make it work.
Any ideas? (or follow up questions?)
Doug Slagowitz WF 7.7.0.3 Client/Server on WIN 2008 R2.This message has been edited. Last edited by: Kerry,
So I give the user a choice with a dropdownbox: - Select 'paramlist' and fill out the parameters on screen or - Choose one of the predefined sets of parameters ( and ignore the parameters on screen )
In a neat HTML, looks okay.
One big set back. Each time they think of a new 'MYLIST' I have to add an piece of code and a dropdown option.
Greets, Dave
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
I would build a Maintain entry form to collect the parameters and save them to the database under a unique query name. Then populate the variables in the Table request from that file. You can use drop downs a list boxes to allow the user to select the fields, etc...
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003
I agree with Mark that the information for each query should be stored in a table, but you can achieve this with MODIFY instead of MAINTAIN. The table would contain both the parameter values and the unique query names. The list of report names for your drop-down would come from the table. When a report was selected from the list, the query name and related parameters could be displayed on the launch page in editable input boxes, with submit options to run the report with the displayed values, or to save changes made to the parameters. If you use a sequential number as the key to the table, all of the parameters and the query name could be update-able. You could also include a delete button on your launch page for deleting queries, but I would mark the queries as deleted with a delete flag or delete date-time in the table rather than actually deleting them (and capture user ID, if possible). This approach would permit recovery of queries that were accidentally (or maliciously) deleted.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
..the information for each query should be stored in a table, but you can achieve this with MODIFY instead of MAINTAIN. The table would contain..
Thank you for your thoughts Dan.
I have used MODIFY to store user request data, within a FOCUS database. The application worked great, and was very useful.
By any chance, do you know if we can do a MODIFY against an Oracle table?
In the past, I've used MODIFY against VSAM files on z/OS, and RMS files on the VAX, so I was wondering if, by extension, MODIFY against Oracle is available. (I am asking because, at my current site, FOCUS database server/simultaneous usage facility may not be an option.)
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
do you know if we can do a MODIFY against an Oracle table?
I think you can.
If I'm not mistaken, products such as iWay Data Migrator create MODIFY statements behind the scenes in order to update data as a result of ETL processing targeting Oracle, SQL Server, etc.
That's the beauty of iWay adapters and WF synonyms in general.
Doug, I am not big on using a table to write the reports to. Once you write the stuff to a db, then you have to build a management layer to delete or rename or whatever, and that just sucks.
As you may or may not know, adding a report to the MRE is just running a URL. If you know the parameters, and the users have the privileges, you can very quickly build a JS routine to iterate through the page input objects, and convert the names and values to Focus code (e.g. -SET &SOMETHING=SOMETHINGELSE). Then you can construct the URL and submit it using Ajax, and bada-bing bada-boom, you have a MRE report. I've used this technique a few times in the past for building My Reports on the fly. Adding the correct parameters to build a Domain report should be simple.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott