cancel
Showing results for 
Search instead for 
Did you mean: 

File Upload - Can't parsing method

Former Member
0 Kudos

Hi

i have added upload file element in edit which i will upload picture....

i have uploaded the file but when i click save i am getting the following error....

Parse Method is not possible for this type...

Please help me.

Thanks & Regards

Udaya Chada

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Add the following code inside DoInit() method.

IWDAttributeInfo attInfo = wdContext.nodeMyData().getNodeInfo().getAttribute(IPrivateEditMyDataView.IMyDataElement.PICTURE);

ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();

IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;

Kind Regards,

S.Saravanan.

Former Member
0 Kudos

Hi,

Thanks for your help