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.
Create a brand new page, copy/paste the "behind the scenes" code generated by HTMl composer for the 'Run Defer' control into the old page and adjust parameters accordingly ...
Other than style (which includes Z-INDEX), I think requests_list, name and tabIndex are to be adjusted.
requests_list="1" in my sample page has this code further ahead in the .htm file:
<requestid id="1"></requestid>
There's nothing really there but it's better to leave it. If I delete the Run Defer button, the requestId tag also gets removed.
The weird part is that I could not find anything else in the page that would hint WF to know that OnExecute() should start a "Run Defer" action as the "Run Schedule" button does exactly the same ... unless the javascript API is "smart" enough to make decisions based on the control name (form1Defer vs. form1Schedule in this case).
I don't think this helps much but it's the best I could see.
I know what you mean. I'm usually "brave" when creating pages from scratch (and that's a lot to say) but editing existing ones is a whole different beast to tame!
Just don't forget to make at least 3 backup copies before ... you know This message has been edited. Last edited by: njsden,
OK, I've figured this out. As per the old fashioned technique, I created a hidden text field called IBIMR_defer. Then I added a new button that sets the text field to "defer", submits the report fex and sets the text field back to blank. I had to also "bind" a report parameter called IBIMR_defer.
Now I neeed to replicate this in 9 other HTML files.
I isolated the code and this is what I have to copy:
JS:
//Begin function button13_onclick
function button13_onclick(ctrl) {
// TODO: Add your event handler code here
document.getElementById('IBIMR_defer').value = 'defer';
OnExecute(ctrl)
document.getElementById('IBIMR_defer').value = '';
}
//End function button13_onclick
The unfortunate part of looking at the code is that the "bound" report parameters generate an overdose of code that I'm afraid to paste into the HTML file (for instance, why are there 'slider_range_from' and 'slider_range_to' tags for a hidden text field?):
There is no need for any manual coding or copy/pasting. If you right-click the form, there is an option on the context menu to Add a Defer button.
If you don't have a form, you create a button, and then right-click it to invoke the Hyperlink Properties and set a hyperlink to use an external procedure (your report), and then from the Target column, select Defer.
That's 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
Agreed! The funny part is that when playing with this I right-clicked the report to "Refresh parameters" and even the "Submit" button to get to "Hyperlink properties" to see if an option to include the "Run Defer" button was offered. It just never occurred to me to right-click the actual form ...
quote:
be a good boy and follow orders by doing it using the GUI
Perhaps I should do as Francis ... who knows, I may start finding pleasant surprises within the realm of the GUI
Hi Francis, This is Lee Martin. I am trying to do the same thing being talked about here and was only partially successful. I am able to copy a self_service htm file into MRE, add the deferred button and it submits a report deferred. But I'm unable yet to pass the parms collected from the htm page. It just calls the .fex and "autoprompts". What am I missing as far as passing the parms to the .fex using the Deferred button? Any help would be much appreciated. Thanks.