I am basically trying to retrieve all the views configured inside an InfoPath XML form.

For example:

I have created 2 views in an InfoPath form. One is basically the Default View and One is a Read Only view.

What I want to achieve here is to use REST API to retrieve the XML form from the Forms library and the views in the retrieved form.

Not sure if this is possible but if someone can point me to the right direction?

  • Do you want to download the XML file in forms library or just to retrieve and read it? – Ganesh Sanap Sep 30 '19 at 6:07

I could be missing it, but it sounds like you want the content of the form itself?

But you could also be looking to get the actual form?

If you are looking to get the content from the form submission you should be able to use the URL:


This will return it in XML, but you can also run this through Java or Excel depending on your needs.

  • How about the form itself? – Chris Baker Feb 8 '20 at 18:53

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.