Quantcast
Viewing all articles
Browse latest Browse all 1826

The method getInstance() is undefined for the type ResourceFactory

Hi All

 

I am trying to create an application for creating folders in KM dynamicall by following the

two blogs.

 

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1750

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1761

 

I have added all the jar files required (Given in the blog) from the server to the build path

and added PORTAL:sap.com/com.sap.km.application in the sharing references of webdynpro refernces.

 

But it is giving me the error "The method getInstance() is undefined for the type ResourceFactory" in the desing time.

 

ResourceContext context = new ResourceContext(ep5User);

RID rid = RID.getRID("/documents");

ICollection parent = (ICollection) ResourceFactory.getInstance().getResource(rid,context);

 

Could you suggest me the reason and solution for this error.

 

Thanks,

Sudheer.


Viewing all articles
Browse latest Browse all 1826

Trending Articles



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