Skip to Content

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

problem in exporting data to excel in nwds 7.3

Hi All,

I was using the following code for exporting data to excel in NWDS 7.3

private IWDCachedWebResource getCachedWebResource(byte[] file, String name,

WDWebResourceType type) {

IWDCachedWebResource cachedWebResource = null;

if (file != null) {

cachedWebResource = WDWebResource.getWebResource(file, type);

cachedWebResource.setResourceName(name);

}

return cachedWebResource;

}

I was getting the error in the following line cachedWebResource = WDWebResource.getWebResource(file, type); when I clicked the quick help it ststed the getWebResource method is depricated. Kindly provide some assistance on what is the new method in its place.

Thank you

Regards,

Preet Kaur

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