on 08-21-2008 3:50 AM
Hi All,
I have developed an application for the offline scenario of interactive adobe form. I tried to load the adobe form from my desktop. After pressing the button "Display form" it throws an error "Parse method is not possible for this type".
If I include wdContext.getNodeInfo().getAttribute("pdfObject").getModifiableSimpleType() in the doInit() method of the view I receive this error -
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
When I comment it out and upload I receive the error enclosed -
Parse method is not possible for this type
Can someone please help me with a step by step solution to this problem?
Any help is highly appreciated.
Many thanks,
Divya
Hi Divya,
Please try to do it as stated below:
IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("pdfObject");
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;
Try putting the code in wdInit() or wdDoModifyView().
Let me know if you still face the issue.
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arafat,
When I added the code suggested by you to the wdDoInit or wdDoModify methods, I receive error as displayed below -
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
Kindly advice.
Many thanks,
Divya
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.