Hi All,
I am following this blog https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70a60afe-d576-2a10-68bf-9ce3988dc39e
for developing a KM file upload functionality.
Im getting errors in my NWDS on the following code lines :
1. ResourceContext ctx = new ResourceContext(epUser);
2. RID rid=RID.getRID(repository);
3. PageContext context = PageContextFactory.createPageContext(request, response);
4. FileUpload fileUpload = (FileUpload)context.getComponentForId("fileupload");
The errors are the following (linewise):
1. The constructor ResourceContext(Iuser) is undefined
2. RID cannot be be resolved or is not a type.
3. Cannot convert IpageContect to PageContext
4. Cannot cast from component to file upload.
I think there is some problem with the JARS. I have inclueded the following JARS in my "Add external JARS" section of the project properties from C:\Program Files\SAP\IDE\IDE70\eclipse\plugins
1. bc.rf.framework_api.jar
2. bc.rf.global.service.urlgenerator_api.jar
3. bc.rf.util_api.jar
4. bc.util.public_api.jar
Please let me know if Im missing something.
Regds