Save as using rules (IP2010) - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Save as using rules (IP2010)

Last post 11-22-2011 03:25 AM by GazM. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-22-2011 01:42 AM

    • GazM
    • Top 200 Contributor
      Male
    • Joined on 11-09-2005
    • England
    • Posts 54

    Save as using rules (IP2010)

    Hi

    I originally posted this in the Infopath 2010 area with no success. Hopefully better luck this time.

    I am currently in the process of updating/converting our IP2003 forms to IP2010. The 'save as' function on the IP2003 forms is currently handled with some VBScript.

    I have modified this in the new forms (VSTA) but they now have to be 'Full Trust', which is leading to a number of complications.

    Has anyone got a 'save as' solution using rules? The forms are saved to different locations in a shared directory (no Sharepoint) and the form name is created from 2 fields within the form.

    Thanks

    Gary

  • 11-22-2011 02:59 AM In reply to

    Re: Save as using rules (IP2010)

    Did the VBScript Save functionality work without the form being full trust?  Any managed code that interacts with the file system will require full trust, and there aren't any rules that carry out a save action.  I think signing the form with a certificate, making it an installable form, or keeping it as an IP2003 form may be your only options.  Do any of those work for you?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 11-22-2011 03:25 AM In reply to

    • GazM
    • Top 200 Contributor
      Male
    • Joined on 11-09-2005
    • England
    • Posts 54

    Re: Save as using rules (IP2010)

    Jimmy

    The forms won't open in IP2010 without being 'full trust'. There were two blocks of code, one handling email and the other the 'save as' function. I replaced the email code with rules etc but the only rules I can find to handle the 'save as' require the form to be saved to a fixed location or a Sharepoint library. We may be moving to Sharepoint next year so I need an interim solution in the meantime.

    The 'save as' code works fine as long as the form is signed, so it looks like I will have to go with the certificate option for the time being.

    Thanks

    Gary

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