SharePoint/Infopath: link to a particular view in an InfoPath form in SharePoint by the url.

All you need to do is add &DefaultView=ViewName to the end or the url.

Ex: https://sharepoint.edu/site/Lists/ListName/Item/editifs.aspx?ID=1&IsDlg=2&DefaultView=Approval

This entry was posted in InfoPath, SharePoint and tagged , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted October 2, 2014 at 11:18 am | Permalink

    Thanks a lot for this post! I am searching this feature for some while and couldn’t find it anywhere else.

  2. Posted November 13, 2014 at 10:32 pm | Permalink

    I have two image buttons on a webpart page. I also have a published form to a form library in sharepoint 2010. The form has 3 views (View 1, ProjectRequest, and ProductProjectRequest). I would like the form to be created using the ProjectRequest view when one image button is clicked on and a and the ProductProjectRequest when the second image is clicked on. I am trying to use the &DefaultView=ProjectRequest for one link and &DefaultView=ProductProject request for the other. But the form keeps openning to View 1. Can someone assist me? Is this possible?

    • Posted January 8, 2015 at 1:14 pm | Permalink

      First make sure your view is spelled right and case sensitive. I have definitely ran into that problem by either spelling the view wrong or not being case sensitive. The other option is to make another default view in InfoPath and put your two buttons there. Then have the switch view rule on each.

  3. Posted December 14, 2020 at 2:51 pm | Permalink

    I’d like to thank you for the efforts you’ve put in writing this website. I really hope to check out the same high-grade content from you in the future as well. In fact, your creative writing abilities has motivated me to get my very own site now ;)|

Leave a Reply

Your email address will not be published. Required fields are marked *