where is the xformDataId?

Vote:
 
Hello!Short question:when i look at this link the xfroms.createinstance have an parameter named xformdataID. where do i find this id in an xformsdata instance? can´t find any xformsdata.id, just the xformsdata.formid...
#32630
Sep 10, 2009 8:12
jo
Vote:
 

What versoion of EPiServer are you compiling towrds?

In all recent versions, there is a property "ID" on the XFormData class that returns the id of the individual formpost.

Regards, 
Johan

#32633
Sep 10, 2009 12:10
Vote:
 

 I have 4.62, and when i try with formData.ID, I get "Episerver.XForms.XFormData does not contain a definition for 'ID'. "

#32698
Sep 14, 2009 11:32
jo
Vote:
 

Try with "formData.Id" (non-capitalized 'd' in 'Id'), it really should be there...

 /johan

#32699
Sep 14, 2009 11:35
Vote:
 

Oh! There it was! Thanks! Visual Studio didnt help me at all with that one. When I pressed dot (.) and looked at the list of methods in my formData inctance it wasn't there.

 Thanks!

#32700
Sep 14, 2009 11:56