Associate email field with Current Item URL

Forums Dynamic Forms for SharePoint Associate email field with Current Item URL

This topic contains 2 replies, has 2 voices, and was last updated by  Mike 1 week, 2 days ago.

  • Author
    Posts
  • #22778

    Mike
    Participant

    I need to wrap the {Title} field in my DFFS email with the Current Item URL. This would enable the email recipient to click the link in the email and be taken directly to the Display form for that item. Any suggestions welcome.

    Mike

  • #22788

    AdamP
    Participant

    Hi Mike

    Have you tried creating the HTML string in the body of the message?

    The tooltip on the body field says;

    Subject and Body
    This value can be a plain text or HTML. See help tab for instructions on how to use MUI.

    You can use the current value from a field in the message by using the FieldInternalName in curly braces like this:
    {NameOfField}
    ItemLink
    Use this in the Body to insert a link to the current items DispForm or EditForm:
    {viewitemlink}
    {edititemlink}
    You can wrap it in an anchor tag like this:

    <a href="{viewitemlink}">Link to item</a>

    So try;

    <a href="{viewitemlink}">{Title}</a>

    Adam

    • This reply was modified 1 week, 2 days ago by  AdamP.
  • #22791

    Mike
    Participant

    Thanks! Works great. I knew it had to be something simple and just forgot to look at Alexander’s very helpful Tool Tip.

You must be logged in to reply to this topic.