Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     need code to run in defer mode
Go
New
Search
Notify
Tools
Reply
  
need code to run in defer mode
 Login/Join
 
Silver Member
posted
Hi,
one of my webfocus report is gettig timedout as there is a large data. i want to run it defer mode. i believe below is the problematic codein my my UI fex file, can someonce tell me how to modify so it runs in defered mode.



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


WebFOCUS 7.1
Unix; Excel
 
Posts: 24 | Registered: January 11, 2012Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Is it in MRE? Then right click and choose Run Deferred. If it is not in MRE, you can schedule it in ReportCaster if you have a Lisense
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Master
posted Hide Post
You can build a "Run in Deferred Mode" with a button like this --

 <input type='submit' NAME='IBIMR_defer' VALUE='Defer'> 


If you're in MR that's your ticket. Remove the Run button and replace it with the button above.

J.



 
Posts: 931 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport This Post
Silver Member
posted Hide Post
Hi All, thanks for your comments. My report is an online report. whenever we give the dates and click on generate report option in the page, it invokes below UI fex file.

as there is a huge data, it is showing timeout error on the page. so i have to make it run in deferred mode.
Cna someone please tell me in which places of my below code i need to modify/add so it run in dererred mode.

This message has been edited. Last edited by: a03654,
 
Posts: 24 | Registered: January 11, 2012Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Did you do what Johrn Edwards suggested?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Silver Member
posted Hide Post
Hi All,

I have replaced the 'Generate report' button (code below) In my UI fex provided above

  <INPUT language=java_script id=button1 style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; Z-INDEX: 39; LEFT: 20px; WIDTH: 120px; COLOR: white; FONT-FAMILY: Arial; POSITION: absolute; TOP: 258px; HEIGHT: 24px; BACKGROUND-COLOR: dimgray" onclick=button1_OnClick[this) tabIndex=6 type=button size=38 value="generate report" name=button1 persistentuniqueid="compUid_458" requests_list="0">

Replaced with
  <input type='submit' NAME='IBIMR_defer' VALUE='Defer'> 


after changes, there is a Defer button appeared on the screen, when i give all the required fields and click on Defer button, the page is not pulling data , it stays on same page. please suggest what went wrong

This message has been edited. Last edited by: a03654,
 
Posts: 24 | Registered: January 11, 2012Reply With QuoteReport This Post
Expert
posted Hide Post
If you built this using the HTML Composer GUI and if the report is a Managed Reporting (MRE) report, you can use the GUI to add a Deferred button:

Add a button.
Richt-click on the button;
Select Create Hyperlink...;
Add an Action by clicking on the New Action button;
Select External procedure (or Embedded procedure);
Click on Source procedure ... and select the procedure;
Select Target Type Deferred.



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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Silver Member
posted Hide Post
Hi Francis, thanks for the reply.
im not good in webfocus, im just a learner Frowner so i couldnt understand what you mentioned above. is there any document available which shows steps with screen shots for the above procedure
 
Posts: 24 | Registered: January 11, 2012Reply With QuoteReport This Post
Silver Member
posted Hide Post
Later today i implemented the code changes provided by Francis and now im getting below errors

Reporting server exceeeded connection limit. Please investigate reporting server log

Do i need to modify something ??

This message has been edited. Last edited by: a03654,
 
Posts: 24 | Registered: January 11, 2012Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     need code to run in defer mode

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.