Accessing XForm data with ObjectStore

Vote:
 

Does anyone have an example on how to access XForm data throught ObjectStore? I need to transfer data from EPiServer XForms to other databases somehow...

#35943
Jan 08, 2010 7:55
Vote:
 

Hi!

Have you tried looping through the forms and form data for each form and if so, does that not work for you?

Regards
Linus Ekström
EPiServer Development Team

#35944
Jan 08, 2010 8:45
Vote:
 

The current status is that i'm able to get the data from the form using GetPostedData(), which means i'm now stuck with a SerializableXmlDocument which i'm not sure how to handle :)

I guess i could use XPath or LINQ to get the values from the XML-document, but is this the way to do it?

#35945
Jan 08, 2010 9:29
Vote:
 

Hi!

Try the method GetValues() on the XFormsData class which returns a NameValueCollection with the keys and values for the posted form.

/Linus

#35946
Jan 08, 2010 9:32
Vote:
 

Ah... thats better! Thanks :)

#35947
Jan 08, 2010 9:37
Vote:
 

Hi friends,

I have one doubt regarding the XForm.whether i have to create it in source window or I hv to create it in EpiServer in ADMIN mode?

#52180
Jul 11, 2011 7:17