Skip to Content
0
Former Member
Jan 18, 2012 at 09:31 AM

BO XI4.1 - DataProvider.getDataSource()

66 Views

Hello,

In XI 4.1 the DataProvider.getDataSource is deprecated.

Can anyone tell me how can I replace the getDataSource to get the Name or ID of the universe for instance of a Webi document?

DataProviders lBoDps = lBoDoc.getDataProviders();

DataProvider lBoDp = lBoDps.getItem(0);

//** Get the Datasource (In fact the universe)

lBoDs = lBoDp.getDataSource();

(I can't use the lBoDs.getName() anymore)

Thnx