Custom code to save a Filler Form to a SharePoint (2010) Form Library? - InfoPath Dev
in

InfoPath Dev

Custom code to save a Filler Form to a SharePoint (2010) Form Library?

Last post 11-14-2011 08:37 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-11-2011 06:08 PM

    Custom code to save a Filler Form to a SharePoint (2010) Form Library?

    I've built a Filler form which is saved as a template in a Form Library. The form had to be a filler form because it's connected to SQL Server 2008 R2.

    Upon the Submit button being clicked I want the form to auto save a copy to the form librarly, with it's name based on several field values.

    I know that all this is easily done through the Designer when the form is a Web form but in this case it's got to be a filler form so I seems that functionality is lost through designer.

    I can't seem to find any examples of custom code (VB) that points to this issue.

    Thank you very much.

    Dan

    Filed under:
  • 11-14-2011 08:37 AM In reply to

    Re: Custom code to save a Filler Form to a SharePoint (2010) Form Library?

    Hi - all you need to do is add another submit connection to your form that submits to your SharePoint library. Under your submit options, change the form to use rules. One rule submits the form to SQL, another to SharePoint. No code needed.

    By the way, in general, you'll see more functionality available in filler forms vs. browser, rather than less.

    Hilary Stoupa

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