Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all articles
Browse latest Browse all 1701

How to change database details dynamically while scheduling a report.

$
0
0

Hello everybody,

 

I successfully manage to schedule  a report using sdk like this:


IReport report = (IReport) (IInfoObject) infoObjects.get(0);

                  report.setRecordFormula(recordFormula.toString());

                  ISchedulingInfo scheduleInfo = report.getSchedulingInfo();

                  scheduleInfo.setType(CeScheduleType.ONCE);

                  scheduleInfo.setRightNow(true);

                  IInfoObjects objectsToSchedule = infoStore.newInfoObjectCollection();

                  objectsToSchedule.add(report);

                  infoStore.schedule(objectsToSchedule);

 


but my requirement is to change the database details before scheduling the report.

 

can anyone help me to change database details dynamically while scheduling a report.


thanks for any help.


Viewing all articles
Browse latest Browse all 1701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>