on 05-17-2013 12:30 PM
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
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"
| |||
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); |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.