View visible in an Email - InfoPath Dev
in

InfoPath Dev

View visible in an Email

Last post 10-11-2012 12:15 PM by oldradio99. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-10-2012 09:03 AM

    View visible in an Email

    I have a XSN form filler form (not web form) with 4 views - initiator, Supervisor, Manager and External.

    On the Manger View I have the Submit button set to 1) Switch View to External, 2) Submit to data base, 3) submit email connection to external and 4) close the form.

     All works except that when the external receives the form, the email is blank and the attachment opens the Manager view.

    How would I get it to send an email with no attachment and to dispay just the external view in the form?

    Thanks

     

    Thank you for your Help.

    Art
  • 10-10-2012 09:42 AM In reply to

    Re: View visible in an Email

    This is a fun bug. If you switch views in the same ruleset as you send the email, you get a blank email.

    We use sections in a single view instead. So, one section is the "fill out" section, and the other is the "email" section. I'll use another field, usually in a secondary data source, a boolean called "IsEmailing" or something, and hide the email section if it is false, the fill out section if it is true.

    Then, in my rules, I'll set IsEmailing to true, send the email and then set it back to false. Make sense?

    Hilary Stoupa

  • 10-10-2012 09:59 AM In reply to

    Re: View visible in an Email

    Hilary you rock!

     Its scary but yes it does make sense.

    But how do you get the view just in the email body without the full form attached.  Is that possible?

     

    Thank you for your Help.

    Art
  • 10-10-2012 10:01 AM In reply to

    Re: View visible in an Email

    In InfoPath 2007 and later, you should be able to specify whether to include the form or just the current view of the form when you create the email data connection - I don't think that was available in IP 2003 (but that was a long time ago...)

    Hilary Stoupa

  • 10-11-2012 12:15 PM In reply to

    Re: View visible in an Email

    Thanks again.

    I wil have to do some reformatting with the sections as the bug about blank emails does affect my form.

    And yes IP2003 was so very long ago!

     

     

    Thank you for your Help.

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