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.