Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
What is the overall objective ? –  Madhur Ahuja Feb 16 '12 at 6:22

2 Answers 2

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

Use Xpath to extract data

share|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

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.

http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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