saving a published form in a network folder - InfoPath Dev
in

InfoPath Dev

saving a published form in a network folder

Last post 12-13-2010 05:06 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-07-2010 12:39 PM

    saving a published form in a network folder

    If I create a template for a form for my staff to fill out and when they are finished. I want a button that will automatically save the form with the data in a networked drive for others to access later. Is there a way to do his and use some sort of name convention based off of fields in the form? We do not use sharepoint a document library. Just a network drive we all share. I would prefer not to have to use code as I am still new in infopath. Thank You
    Filed under: ,
  • 12-13-2010 05:06 AM In reply to

    Re: saving a published form in a network folder

    Hi JWebster1979,

    You'd have to write code to do this. After 7 years of providing answers for code and other things, we simplified our response and provide a free trial of qRules for people. qRules is a common library that handles the top 50 commonly asked for features in InfoPath that require code, including your request. Here's the info on SetSave: 

    SetSave

    SetSave gives the form designer access to a variety of previously code-only save options, such as dynamically allowing save, or setting the save location.

    Arguments: All arguments are optional, but the command won’t execute without arguments.

    o save: Allow or prevent the Save action (allow | block)

    o savemsg: Message to display if Save is blocked (* to clear)

    o saveloc: Block Save if location starts with this (* to clear)

    o saveas: Allow or prevent the Save As action (allow | block)

    o saveasmsg: Message to display if Save As is blocked (* to clear)

    o saveasloc: Suggested location in Save As dialog (* to clear)

    o saveasfile: Suggested filename in Save As dialog (* to clear)

    Example:

    o SetSave /save=block /savemsg=Save is disabled /saveas=allow /saveasloc=C:\ /saveasfile=MyForm.xml

    This command provides you three alternatives:

    1. Block all

    2. Allow all

    3. Block only locations that begin with the value of parameter /saveloc

    SetSave is NOT browser compatible. When injecting your form, you have to select "client only" to have the necessary code injected in your form by the injector.

    Please try the free trial. Should be easy to setup but SetSave won't work for browser forms. Let us know if you need help.

    Best regards,

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