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.
There is an onbeforeunload event that you could use on your destination window -- the window that opens with the report in it. That event executes when you close that window.
It's not perfect though, because someone could close the window prior to completion and start running a new report right away. But -- that might be something you want to offer them, because if they select the wrong parameter you don't want to force them to wait 20 minutes before they can run it again.
Option 2 is to have the report include a button in it that you can connect your opener.document logic to. That is, the user can only unlock the Submit button by clicking on something inside your final output, or having it go off on the output's onload event.
I'll be honest, a user with any moxie will figure out they can refresh the calling page and get their Submit button back. Or open a second copy. This will be a hard one to enforce with smart people.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
The closest we've come is trying to get the users to select Run in New Window. We find they are less likely to hammer the Submit button. First because there is an indication that the report is still running and second because each submit opens a new window.
I've been looking into ways to make that setting the default, but I'm not sure yet.
Two days ago someone consumed all the WebFocus initiators using multiple Submits. This does not sit well with the other users. :-)
WebFOCUS 7.7.05 (Someday 8) Windows 7, All Outputs In Focus since 1983.
I believe there is room for a slight improvement here. (and I can put in a NFR)
That 'Wait for completion...' task (in the HTML composer) should be output agnostic. Since the xmlroot document is, I assume, communicating behind the scenes aleady with the client, then it should not be too much of a stretch to have it receive something/update something regardless of the output format..because, regardless of what is running ..it has to complete some how (normal end, agent killed, abend).
Any of those end events should tell the form that the process completed..and do its thing..
then..error conditions (ie non normal conditions could be handled one way..normal conditions another.
but..what do I know..
WebFOCUS 8 Windows, All Outputs
Posts: 30 | Location: Living in Charlotte, working all over | Registered: July 13, 2015
What are your redirection settings? I know when I first upgraded to 8.0.08, I had to set my excel to always save on the server and then send the output. The reason I had to do this, was because in the default prompt popup, if I ran an excel report, I wouldn't get the run button back after submitting Excel requests. I don't know if this will help, but I would suggest seeing if this has an impact as I believe it might be the difference between sending a response call or not.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013
What we do (although only in a few cases) is disable the submit button until the target window fires its onload event. In JQuery terms, those events are called 'submit' and 'ready'.
For that to work, you need to attach events to onsubmit in the launch page and to onload in the target window (attach the event handler from your launch page though and not from the target window!).
You might also want to catch form-validation errors and if those occur, not disable the submit button (or something like that - I'm not at all clear on the correct behaviour there).
Unfortunately, IBI made that a bit complicated... Until they implement our NFR for a return status in OnExecute, you can instead use the function replacement pattern that I shared around a week ago...
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :