Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

KM API : is deprecated


I am using KM api to create a resource of type external link in Portal KM folder.

This is part of code I am using to get ResourceContext and Collection

IResourceFactory resourceFactory =  com.sapportals.wcm.repository.ResourceFactory.getInstance();

IWDClientUser wdClientUser = WDClientUser.getCurrentUser(); sapIUser = wdClientUser.getSAPUser(); ep5User = WPUMFactory.getUserFactory().getEP5User(sapIUser);
IResourceContext resourceContext = new ResourceContext(ep5User);

collection = (ICollection)resourceFactory.getResource(pathRID, resourceContext);

Here, its showing this as deprecated.

Can anybody tell me alternate way to get this?

Thanks and regards,

Amey Mogare

Not what you were looking for? View more on this topic or Ask a question