cancel
Showing results for 
Search instead for 
Did you mean: 

Depprecated Method ?

Former Member
0 Kudos

Hi All,

I am scheduling a report to Inbox or any other destination and I getDestination() depprecated.

managedOptions.getDestinations().add(new Integer(userId));

scheduleInfo.getDestination().setFromPlugin(managed);

So I went through BO XI R3 tutorial and guide it showed

IDestination destination = scheduleInfo.getDestinations().add("CrystalEnterprise.Managed");

destination.setFromPlugin(destinationPlugin);

I would like to know is it safe to go with above way or is there any work arround.

I am using BOE 3.1

Thanks,

praveen.

Accepted Solutions (1)

Accepted Solutions (1)

former_member203619
Contributor
0 Kudos

Hi Praveen,

The getDestination method was actually deprecated in a later service pack of XI R2. So the method shown is the only way to do it. You need to use the method described in the 3.1 tutorial as that is the officially supported method.

e.g.

IDestinations boDestinations = boSchedulingInfo.getDestinations();

IDestination boDestination = boDestinations.add("CrystalEnterprise.DiskUnmanaged");

Regards,

Shawn

Former Member
0 Kudos

Thanks

Shawn

Answers (0)