Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Need help getting Dynamic Url to a Contact record in an email template

(0) ShareShare
ReportReport
Posted on by 25

Currently, I am not able to get the 'dynamic' url for a contact record. If I have just one guid in the link, it will only take me to that 1 record. I'm just trying to get a url that contacts a dynamic guid.

Something like: sitename.crm.dynamics.com/main.aspx?appid=018bd163-60d2-ea11-a812-000d3a31e89e&pagetype=entityrecord&etn=contact&id={!Contact:Contact;}

The {!Contact:Contact;} needs to be the dynamic guid


So the way it would go is that the sales person who is talking to a business contact, and if there is interest for another line of business, the sales person would create an email activity, select a template, and the template would have the following information:


Subject - A New Lead has been shared with you

Contact: link to contact <---------- this is the link that I need to be dynamic
Contact: email
Contact: Business phone

Account: link to Account

  • Community Member Profile Picture
    on at
    RE: Need help getting Dynamic Url to a Contact record in an email template

    Hi Partner,

    If the problem can be solved, please click Yes under "Did this answer your question?" to close this thread.

     pastedimage1611721152395v2.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at
    RE: Need help getting Dynamic Url to a Contact record in an email template

    Hi Shap1,

    You can’t directly add dynamic record url to the email template, crm oob not support it.

    But you can create new url field and add it to the contact form, then create a workflow/flow to update the field when contact is created, then add the url field to the email template.

    Note: you need check on-demand option in  workflow to update existing contact records.

    1.workflow (old version)

     pastedimage1611716305258v2.png

    pastedimage1611716277543v1.png

    2.flow.

    Go Power Automate(https://us.flow.microsoft.com/en-us/ )

    For new contact, you can create automate flow(trigger is when a record is created).

    pastedimage1611721623886v1.png

    For existing records, create instant flow(trigger is when a record is selected).

    pastedimage1611717378011v3.png

    In the example, i fill organization and appid directly, if you wnat to get dynamic value you can refer following link:

    (+) UCI : Get Entity Record URL or Generate Dynamic Record URL of a Record in Power automate using CDs connector and Variable - Microsoft Dynamics CRM Community 

    Test:

    select records you need and click flow to run flow you just created.

    pastedimage1611717690239v5.png

    pastedimage1611717439611v4.png

    Add it to the email template:

    pastedimage1611721040077v1.png

    pastedimage1611721076684v2.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,020 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans