Submitting a read only version of the InfoPath 2010 form - InfoPath Dev
in

InfoPath Dev

Submitting a read only version of the InfoPath 2010 form

Last post 10-17-2014 11:29 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-09-2013 07:18 AM

    • Kully
    • Not Ranked
      Female
    • Joined on 11-16-2012
    • Posts 24

    Submitting a read only version of the InfoPath 2010 form

     
     

    Hi,

    I have several forms which are submited to emais.

    The forms which are submitted can actually be edited once they have been emailed. Is there any way of having a read only form submitted?

    I also have forms which are submitted to a sharepoint library. The same issue with this is there a way of having a read only version submitted?

    Thank you

  • 08-10-2013 12:19 PM In reply to

    Re: Submitting a read only version of the InfoPath 2010 form

    Hi again,

    You can add a read-only view to your InfoPath form and add a rule on load that switches to this view if a form's field is equal to a certain value (for example, if Status = "Submitted"). You can also switch to this view before you email the form so that they don't get something in the Outlook email view. You'll still need a rule when the form loads to switch them to a read only view. You can copy your existing view (ctrl-a, switch to new view, ctrl v) anmd set view properties to read-only in 2010.

    For SharePoint, I recommend creating a simple reusable SharePoint workflow with an Impersonation step that removes the item permissions for the submitted form.

    All easy and quickly doable,

    Patrick Halstead
    Project Manager at Qdabra
  • 10-17-2014 11:09 AM In reply to

    • cmartinko
    • Not Ranked
      Female
    • Joined on 08-19-2013
    • Charlotte, NC
    • Posts 11

    Re: Submitting a read only version of the InfoPath 2010 form

    If I can add on to this question... I was able to have the view change based on the Status as you noted above. Is it possible to have it switch views based on a specific user opening the form? In other words, I have the form submitting to a Library in SharePoint. When the requestor opens the submitted form to look at it, they get a read only view. When the approver looks at the form, they need to have another view that includes fields specific to only them. Is that possible? Right now, I've shown her how to switch views on her own, but she is not happy with the extra step... Thanks!
  • 10-17-2014 11:29 AM In reply to

    Re: Submitting a read only version of the InfoPath 2010 form

    You can add a rule in the form load rules to switch views - if you have the user name of the approver in the form's data source (for example) you could use that for a condition. If you only have one approver, you could always hardcode the condition.... in the dialog to build the condition, you can change the first drop down to "The expression" and enter something like this:

    xdUser:get-UserName() = "hilary"

    But, you know, with your user's User Name in there - and if you don't know what case that will be returned in, you may need to add a translate function.

    Hilary Stoupa

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