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.
When creating an HTML Composer designed form in MRE, you can add a Save Selection button. That adds a call to a JavaScript function called SaveSelectedParameters and the parameters are saved to the My Reports area of MRE.
Has anyone made this work? As someone just pointed out, the button appears in HTML Composer, but does not display when launching the form.
Thanks,This message has been edited. Last edited by: Francis Mariani,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Yes, it's working in 7.6.11. Seems like the user has to have 'My Reports' enabled in MRE though. Do you see the elements in text?
i.e.
// **************************************************************************************************************************************************************************
//Begin function saveButton_onclick
function saveButton_onclick(ctrl) {
// TODO: Add your event handler code here
SaveSelectedParameters()
}
//End function saveButton_onclick
This message has been edited. Last edited by: Don Garland,
Thanks for the info. I found a temporary solution to the missing Save Selections button - I created a simple button that executes the same JS as the Save Selections button.
I just wonder why the Save Selections button does not display.
Regards,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
That is not how you do this. Save Sekection is only in Managed Reportng, so the page must be in MR in order to add it to the page. The next requirement is that the user at runtime must be allowed to save parameterized reports. That is an MR permission for the user. If the user does not see the button at runtime, it means they do not have the privilege to save parameterized reports.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
"That is not how you do this". This is how I am doing it. This IS all in MRE. For some reason, which I hope you can explain, the Save Selection button does not appear on the MRE contained, HTML Composer composed page. What is going on? At first I thought the problem was I was running the screen from Dev Studio - you know, for testing purposes - which Dev Studio allows you to do. Then I ran it from the MRE Domain Builder and I have the same result - no Save Selections button.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Oh, and by the way, I think DevStudio is smart enough to determine if the html page is in MRE or not - if it is not in MRE, the Save Selections icon in the Components toolbar is disabled.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
I don't understand what you are trying to get at. The product writes specific MR attributes to a page created in MR. So of course it knows the page is an MR page.
If you have created the page using the GUI in MR, and have the Save Selection button on it, and you run the page with a user that has the save parameterized report permission, the button will display and work.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
David describes how it's supposed to work. I have described how it actually does not work, unless you intervene.
"I don't understand what you are trying to get at. The product writes specific MR attributes to a page created in MR. So of course it knows the page is an MR page." - I wouldn't bring this up if I didn't create the form in HTML Composer and if I didn't abide by all the rules, so, something is wrong. This is one of two FocalPoint threads that mentions the Save Selection button does not display when running the page. In fact, it appears for .25 seconds before disappearing.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
But has the MR user-ID you use to test the report been granted the "save parameterized report permission"? You sort of implied that, but didn't say so explicitly.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Thanks Jack. I said that too. The MR user needs the permission in order to see it.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
I really wish that D.G. wouldn't get so prickly. We developers live in the real world with hundreds of programs of many variations, not in some protected universe where four or five example programs work really well.
I have found this Save Parameter functionality does not work when the MRE program is a fex that has an -HTMLFORM app/page_name.htm in it. Is this documented?
I have a simple HTML pageusing the CAR file in a Tree Control and I did make the Save Parameters work.
I have a slightly more complex HTML page - completely created by HTML Composer GUI, with additional JavaScript, which, I believe, is supported. I get a JavaScript error on line 9430 in file ibirls3.js. Now, how do I debug this and why is it happening on a page that was completely built in HTML Composer GUI (with no launch fex)?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
It is documented that -HTMLFORM and HTML Composer should not be used together. It was also a topic in my "Best Practices" presentation I did for the FocalPoint audience a few weeks ago. Save Selection creates an HTML page with the saved values and calls back to the original HTML page. -HTMLFORM needs to be in a FEX. So they cannot work together.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
Fine, but you didn't answer my second question: "how do I debug this and why is it happening on a page that was completely built in HTML Composer GUI (with no launch fex)?".
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
If you are not using -HTMLFORM, I have no idea and suggest you open a case with Support Services.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com