on 03-06-2008 12:19 PM
Hi All,
I have created a offline Interactive form application based on download functionality, using Adobe form in NWDS WDJ . So In my application I have created one download view & In the implementation part, I have written the code in wdInit() method as,
public void wdDoInit()
{
//@@begin wdDoInit()
IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("pdfsource");
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IModifiableSimpleValueSet binaryType = type.getSVServices().getModifiableSimpleValueSet();
binaryType.put("FileName","TravelRequest.pdf");
binaryType.put("MimeType","WDWebResourceType.PDF");
String Filename = "C:
Shital
offlineInteractiveForm
src
mimes
Components
com.sap.offlineinteractiveform.shital.UploadDownloadformComp
TravelRequest.pdf";
//@@end
}
When I am trying to deploy & run my application ,It's giving me the Exception as,
java.io.FileNotFoundException: C:\Shital\offlineInteractiveForm\src\mimes\Components\com.sap.offlineinteractiveform.shital.UploadDownloadformComp\TravelRequest.pdf (The system cannot find the path specified)
Help me to solve this problem..?
Thanks & Regards,
Shital.
Hi Shital,
try to change the filename location mentioned below, replace the code below
String Filename = "temp\\webdynpro\\web\\local\\offlineInteractiveForm\\Components\\com.sap.offlineinteractiveform.shital.UploadDownloadformComp\\TravelRequest.pdf";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.