Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Deferred run option

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Deferred run option
 Login/Join
 
Member
posted
What is the easiest way to add a "Run Deferred" button to a launch form? I'd like to have a tool that has the ability to be run live, or deferred. So in essence 2 buttons on the launch page one for "Run" and one for "Run Deferred". What is the code required to do so, or the easiest way to get this to work?
-Thanks

This message has been edited. Last edited by: Kerry,


version 7.14
Windows and Unix servers
Mostly html, and some excel outputs
 
Posts: 8 | Registered: November 06, 2008Report This Post
Platinum Member
posted Hide Post
Hi,

Add a hidden variable named IBIMR_defer and onclick of the Run Deferred button set this variable to 'defer'. Leave it blank when Run is clicked. Pass this to the fex along with other form params.


thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
 
Posts: 103 | Registered: June 12, 2009Report This Post
Guru
posted Hide Post
Call it a JavaScript to do the Page submit, if it is Deferred submit the page with the Hidden element IBIMR_Defer = 'Defer'. This will submit the report for deferred execution instead of instant output.

I will posst you some code shortly.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Guru
posted Hide Post

<INPUT type=hidden persistentuniqueid="compUid_12" name="IBIMR_flags"> 
<INPUT type=hidden persistentuniqueid="compUid_13" name="IBIMR_random"> 
<INPUT type=hidden persistentuniqueid="compUid_14" name="IBIMR_defer"> 
<INPUT type=hidden value=1 persistentuniqueid="compUid_15" name="IBIMR_cookie"> 


function runReportDefer()
{
 document.form.IBIMR_random.value = Math.random();
 document.form.IBIMR_defer.value = 'Defer';
 document.form.submit();
}

  


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Guru
posted Hide Post
Call the runReportDefer() function in the Run Deferred Button's Onclick event.

This is the simple way.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Guru
posted Hide Post
Hi JI,

Is the information enough on your part? Were you able to implement this ?

If so, Please mark the thread as solved...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Deferred run option

Copyright © 1996-2020 Information Builders