Read only view of infopath form - InfoPath Dev
in

InfoPath Dev

Read only view of infopath form

Last post 09-06-2013 01:57 PM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-06-2013 01:00 PM

    Read only view of infopath form

    Hello all, I have another question for everyone that I have been trying to solve for a few days now. I am submitting a web enabled infopath 2010 form to a SharePoint list which work fine, no problems. However I need the form submitted to be the "read only view" of the form. In my Submit button I have the proper rules set up (or at least I think): Rule 1) switch view to read only view Rule 2) submit to SharePoint library using data connection. When I open the document in the sharepoint library to review it, it opens the main page (the editable view) not the read only view. Is there a way I can force my data connection in infopath to submit the readonly view of my form. I have tried everything and Googled everything I can think of. I have even placed the submit button on the read only page. I am running out of ideas. Thank you all, I look forward to your advice.
  • 09-06-2013 01:05 PM In reply to

    Re: Read only view of infopath form

     Hi- the form is going to open to the default view - sadly, it does not care what view it was on when it was submitted.

    Add a field to your data source that doesn't show on your form - let's pretend you've named it "IsSubmitted" and it is a true / false field, and it is defaulted to false.

    In your submit button, remove the rule to switch the view. Instead, before you submit to the library, set IsSubmitted to true.

    Then, add a form load rule. In the form load rule, use the condition IsSubmitted is equal to true and the action can be to switch to the read only view.

    Submitted forms should then open in Read Only - let me know if you need more info on this, okay?

    Hilary Stoupa

  • 09-06-2013 01:12 PM In reply to

    Re: Read only view of infopath form

    Thank you Hilary for the quick response. This makes complete sense and I was thinking about doing something like that. I am going to try that. Thank you so much. I'll follow up if it works.
  • 09-06-2013 01:33 PM In reply to

    Re: Read only view of infopath form

    Hilary, It worked perfect. Thank you so much. Now after the form is submitted to its library in SP10, I click the form to view I get the read only version. great way to get read only version using info path. Thank you so much.
  • 09-06-2013 01:57 PM In reply to

    Re: Read only view of infopath form

     You are very welcome - glad you didn't have any troubles implementing it.

    Hilary Stoupa

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.