I am using infopath to design my form and collect information from user in that form and submitting it in SharePoint Form library. Every thing was working good, Now my client wants me query for data to the generated xml infopath documents which are in form library. I can only use Content Editor web part, Jquery and Client object model with javascript.

Can someone help me on this issue

  • What is the overall objective ? – Madhur Ahuja Feb 16 '12 at 6:22

In InfoPath there is option to fetch the data from the SharePoint List. So you can easily get the data from SharePoint list using Data Connection.

Open InfoPath Form in design mode.

Click to the Data tab in you InfoPath ribbon choose "From SharePoint List" Give the List URL and there a option to filter the data as per your query.

Check that link for more information.


| improve this answer | |
  • Hi Basant, Yes we can create connection in infopath form but we can create connection with List and Library. As I have mentioned that I am submitting data in Form Library as XML files and I didn't find any way to establish connection with infopath xml files. – Indresh Feb 16 '12 at 10:45

This link might be helpfull http://sujeewaediriweera.wordpress.com/2012/02/12/accessing-infopath-form-data-programmatically/

Use Xpath to extract data

| improve this answer | |
  • Hi Sujeewa, As I have mentioned in my question That I cannot write any code. I only can use CEWP, Jquery and Client Object Model i.e. ECMA Script. – Indresh Feb 16 '12 at 10:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.