Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Record URL(Dynamic) returns incorrect link

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

I am facing an issue where I am sending an email though a workflow. The email will contain a link to the active quote using Record URL(Dynamic), however the link that is sent (loaded from Record URL) is not correct.

Code to generate the URL: 

<hyperlink>

<name>here</name>

<value>{Current Active Quote (Quote)-{Record URL(Dynamic)}}</value>

</hyperlink>.

The link the is generated is (Wrong):

https://............./_controls/emailbody/msgBody.aspx?id={5DA344F6-B9F4-E711-80C8-00155D028300}&entityType=email#

Any idea what is wrong and how to fix it?

Regards,

Asif

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Record URL(Dynamic) returns incorrect link

    Thank you Wei & Ravi,

    I will try Wei solution and will keep you updated.

    Regards,

    Asif

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Record URL(Dynamic) returns incorrect link

    Hi Asif,

    As susggeted above by Fun Wei Jie, it does look like your format is incorrect. Try to add the url again and test it (do not change the content after adding it). I have seen some cases when you move the text around in the email body that it changes the format.

    Hope this helps.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Record URL(Dynamic) returns incorrect link

    Hi,

    I notice there is a difference between your url format and my url format.

    Yours

    <hyperlink><name>here</name><value>{Current Active Quote (Quote)-{Record URL(Dynamic)}}</value></hyperlink>

    Mine

    <hyperlink><name>here</name><value>{Record URL(Dynamic)(Potential Customer (Account))}</value></hyperlink>

    My url start with RecordURL(Dynamics)  and follow by field.

    Your url is start with field name and follow by RecordURL(Dynamics).

    I've tried to change it to your format, and i get the same result as yours.

    8272.2.png

    then i clicked on the wrong format url, this is what i got.

    8272.2.png

    Conclusion

    - your dynamics url format is wrong.

    - you need to change it.

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Record URL(Dynamic) returns incorrect link

    Hi,

    So inside your Contract, there is a lookup field to Quote right.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Record URL(Dynamic) returns incorrect link

    8311.process.png

    Thank you for your reply, I attached screenshot for the process. Moreover, something I forgot to mention is that his problem appears in all process that uses Record URL.

    Complete code:

    Hello All,
    
    New Contract was signed with {Account(Contract)}.
    
    Sales Person : {Primary Sales Person(Contract)} 
    Contract Value : {Total Amount(Current Active Quote (Quote))} 
    Quote : {Current Active Quote (Quote)}
    
    Next Steps:
    
    1. Create Contract in CM and update CRM Related Contract with the new # from CM
    2. Resource Allocation
    
    
    Related Quote can be found <hyperlink><name>here</name><value>{Current Active Quote (Quote)-{Record URL(Dynamic)}}</value></hyperlink>.
    
    Thank You,
    CRM System

    Regards,

    Asif

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Record URL(Dynamic) returns incorrect link

    Hi,

    Please screenshot the workflow especially the part you set the Record URL.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans