Custom Save Button - InfoPath Dev
in

InfoPath Dev

Custom Save Button

Last post 10-24-2011 04:38 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-23-2011 05:10 PM

    • plavix
    • Not Ranked
    • Joined on 10-23-2011
    • Posts 2

    Custom Save Button

    Hi All,

    Well, I usually prefer to lurk as questions have generally already been answered. Seems not this time, although they've been answered but I don't understand them.

    I have an InfoPath 2010 Filler Form where I would like to hide the ribbon, so I need a Custom Save button at the end of the form.

    The scenario is a mobile worker will complete the form whilst disconnected from the network, usually they will not be able to complete all fields as attachments will need to be added and fields updated after they have returned to the office.

    1. I need to add a button for them to save as a local draft, lets say c:\forms.

    2. I'll add an additional button for them to submit to the SharePoint Library when they have returned to the office and completed other fields.

    Now, I've tried to add rules to the Save as Draft button, but rules don't have any option for the form to be saved locally, only to data connections, SharePoint and Hosted etc. I've also tried a number of pieces of code (mainly using XDocument.Save():), none of which have worked.

    I'm not a coder so have absolutely no idea what to do with code or where to put it. I can open the code editor of course.

    Would someone be kind enough to:

    1. Let me know if it can be done with rules?

    2. If not with rules a newbie copy and paste instruction with the code required?

    Thanks all in advance, this has been bugging me for a week and I think Google has got bored with me.

  • 10-24-2011 04:38 AM In reply to

    Hi Plavix,

    qRules v3.4 has a local save option available which will let you use a rule to save. Your form will have to be full trust though.

    We hope to release qRules v3.4 next month. If you'd like to install the beta, please send email to Support at Qdabra dot com.

    Thanks!

    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.