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     Reports scheduling using APIs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Reports scheduling using APIs
 Login/Join
 
Member
posted
Hi,

Can anyone tell how to call Report Castor scheduling API using javascript. I have sample code for Java not for Javascript.
Is it possible to call the API using Javascript? If anyone has sample code, can you share it? Thanks in advance.

Thanks, Lakshmi
 
Posts: 16 | Registered: June 19, 2008Report This Post
Virtuoso
posted Hide Post
I'm going to say no on this one.

Can you please explain what you are trying to do. Maybe we can suggest an appropriate direction once we know what problem or issue you are trying to solve.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
We are using Webfocus 7.1.6
Hi,

Can anyone tell how to call Report Castor scheduling API using javascript. I have sample code for Java not for Javascript.
Is it possible to call the API using Javascript? If anyone has sample code, can you share it? Thanks in advance.

Thanks, Lakshmi[/QUOTE]
 
Posts: 16 | Registered: June 19, 2008Report This Post
Member
posted Hide Post
User wants to automate sheduling reports. I am thinking when a button pressed on the report selection HTML page I can invoke the API , pass parameters and schedule the report.

quote:
Originally posted by dhagen:
I'm going to say no on this one.

Can you please explain what you are trying to do. Maybe we can suggest an appropriate direction once we know what problem or issue you are trying to solve.
 
Posts: 16 | Registered: June 19, 2008Report This Post
Master
posted Hide Post
When the user clicks the HTML button, you can call a jsp page to call your Reportcaster API using the Java code you have.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Member
posted Hide Post
Do you have sample? I was told I can not use servlets in 7.1.6 version

quote:
Originally posted by Kamesh:
When the user clicks the HTML button, you can call a jsp page to call your Reportcaster API using the Java code you have.
 
Posts: 16 | Registered: June 19, 2008Report This Post
Virtuoso
posted Hide Post
Search this forum. There are a number of JSP examples already posted that will do what you are asking. You might want to PM Francis Mariani, as I believe he has a full example using the new APIs he might be willing to share. You could also open a case with NY, as another JSP example is shipped with the product. I remember seeing some simple doc from NY a couple of years ago that showed how to implement.

As for servlets, who ever told you that you can not use servlets in 7.1 is misinformed.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Platinum Member
posted Hide Post
Tech memo:
http://documentation.informationbuilders.com/masterinde...pdf_wf_71/tm4626.pdf


WebFOCUS 7.6.6/TomCat/Win2003,SQL Server 2005,Oracle
 
Posts: 125 | Location: New England | Registered: February 20, 2007Report This Post
Virtuoso
posted Hide Post
That tech memo is exactly what you're looking for. Please note (as mentioned in the doc) that there is a "Schedule" capability that must be enabled for the users in order for them to use this. Note that you don't call API's from Javascript - it's not the same thing as Java so the use of a JSP is necessary.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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     Reports scheduling using APIs

Copyright © 1996-2020 Information Builders