How to not prompt the user for filename - InfoPath Dev
in

InfoPath Dev

How to not prompt the user for filename

Last post 02-27-2013 01:54 PM by Rauscheglatze. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-25-2013 08:25 AM

    How to not prompt the user for filename

    I created an InfoPath 2013 form which should be published as a site content type to SharePoint 2010. The content type will be used in several libraries. The form must create an unique filename for every new instance to not prompt the user for a filename on save. Every tutorial for creating a unique name I found requires a data connection to the library where the form is in use. But since it is a content type which can be used in several libraries I can't add a static submit connection. Is there a dynamic way to save the form in the lib where it has been instanciated with an unique name? The form creates a name using a timestamp in a field called filename, but what next? Thanks!
  • 02-26-2013 10:12 AM In reply to

    Re: How to not prompt the user for filename

    Hi-

    Save and Submit are different operations, so let's clarify.

    Save allows the user to enter a filename.

    Submit executes a data connection to perform the submit operation, and this includes a pre-defined filename.

    You can dynamically generate a filename via rules in your form. Your form can also have many different submit data connections, and only execute one of them - perhaps you can find a way of determining where the form was opened from and based on that information execute a different submit data connection.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 02-27-2013 12:23 AM In reply to

    Re: How to not prompt the user for filename

    What I learned in the meantime, there is no way to create a relative submit data connection to the library the form was opened from.
    I don't understand why the connection must be set absolutely, what a huge drawback.
    I ended up creating different forms for different libraries.

    Thanks!
  • 02-27-2013 07:08 AM In reply to

    Re: How to not prompt the user for filename

    You may find this blog post helpful.

    Hilary Stoupa

  • 02-27-2013 01:54 PM In reply to

    Re: How to not prompt the user for filename

    Thank you, I know the article.

    I can't use code because the form then needs admin approval.

     

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