Hyperlink: Opens new email. xpath to grab recipient address and subject title not working - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Hyperlink: Opens new email. xpath to grab recipient address and subject title not working

Last post 02-13-2011 08:03 AM by Mel Clemente. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-10-2011 09:31 AM

    Hyperlink: Opens new email. xpath to grab recipient address and subject title not working

    Hi!  I've created a form that gets submitted via an email to a shared inbox and also gets logged on a sharepoint site.  Within the form, there is a hyperlink that opens up a new email which is suppose to reply all.  My issue is that the xpath to grab the recipient address and subject which is stored on the form is not populating.  Instead the xpath itself populates the To and Subject line. 

    What I'm working with: 

    In Edit hyperlink> Data source field : concat("mailto:my:Request/my:EMPLEmail", "?subject=my:Request/my:form_name")

     

  • 02-13-2011 08:03 AM In reply to

    Re: Hyperlink: Opens new email. xpath to grab recipient address and subject title not working

    Hi,

    Your syntax is close! In order for your concat statement to give your desired value, you'd need to separate fields from text strings. In this case, your formula should be: concat("mailto:", my:Request/my:EMPLEmail, "?subject=", my:Request/my:form_name).

    Notice how mailto: and ?subject= are enclosed with quotation marks --- that is how you define text strings. For fields, you simply enter their XPath, without quotation marks and then separated by commas.

    Hope that helps!

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

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