cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple scheduling Webi Report

Former Member
0 Kudos

HELLO

Problem:

I want scheduling Webi report dynamically using Java sdks ,

Assume there are 5 dynamic report with 5 parameters , I want to schedule all 5 reports.

I wrote below snippets for that .

schedInfo.setRightNow(true);

infoStore.schedule(oInfoObjects);

So How can I get all the 5 webi scheduled report using java sdk into the jsp , I have to show report into the jsp ?

How much time it will take to schedule all report .

After selecting format PDF or Excel ,scheduled report would go and store into the info view or CMS server .so how can I store the report into CMS or Infoview in which location , and how can I get  location into JSP.

Thanks.

Amit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I dont think its possible to show five reports at a time in a JSP..

other solution is "Schedule and save at a location in some shared drive"



// Get the Destination plugin.


IDestinationPlugin destinationPlugin = (IDestinationPlugin) infoStore.query("Select Top 1 * from CI_SYSTEMOBJECTS Where SI_PARENTID = 29 And SI_NAME = 'CrystalEnterprise.DiskUnmanaged'").get(0);



destinationObject.copyToPlugin(destinationPlugin);


IDiskUnmanagedOptions diskUnmanagedOptions = (IDiskUnmanagedOptions) destinationPlugin.getScheduleOptions();


diskUnmanagedOptions.getDestinationFiles().add(destFileName);


destinationObject.setFromPlugin(destinationPlugin);


schedulingInfo.setRightNow(true);






// Sets the CMS to schedule the report.


infoStore.schedule(rptObj);