Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Techniques for looking up data values

Posted on by 25

I'm creating email templates and would like to understand methods for looking up data values.

For example, is there a tool or technique that can pull up an entity, a case for example, and display all the associated values and relationships?

I'd like to see the values & relationships so that I can know which data field to populate in my email template.

Thanks!

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Techniques for looking up data values

    Hi Gregat,

    It’s glad that your problem has been solved.

    Please kindly mark as verified if you had found my answer helped, it would be greatly appreciated.

    Regards,

    Clofly

  • Suggested answer
    GregatCatapult Profile Picture
    GregatCatapult 25 on at
    RE: Techniques for looking up data values

    Thank you for the detailed response Clofly!  This gives me exactly what I was looking for :)

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Techniques for looking up data values

    Hi Gregat,

    Sorry for late reply.

    From my test, {!Case:Customer;Valued Customer} could be regarded as equivalent to {!Case:Customer;} 

    pastedimage1573796139831v1.png

    Acutally all dynamic values should like: {!Entity:Field display name;}

    I have searched many pages but didn't find anwser that why in OOB template its {!Case:Customer;Valued Customer} instead of {!Case:Customer;} ,

    even thought they are same result.

    I thought it would be that Customer is a lookup field in Case entity, it is stored as a guid data in the field, and added "Valued Customer" would be just a statement without actual effect,

    CRM can map it to formatted name automatically.

    What's more, you could read article below for how to insert dynamic value in email template:

    https://rkcrm.wordpress.com/2019/09/09/insert-dynamic-values-in-email-templates-from-custom-entities/

    As article said, we can get its actual logical express with developer tool 

    pastedimage1573797445245v2.png

    The raw sytax is {!incident:customerid/@name;Valued Customer}, and I changed it to {!incident:customerid/@name;Hello}

    Now give a look:

    pastedimage1573797579937v3.png

    We give its a custom value and CRM ignored it and just keept {!Case:Customer} to display.

    Please let me know if you still have any doubt.

    Regards,

    Clofly

  • GregatCatapult Profile Picture
    GregatCatapult 25 on at
    RE: Techniques for looking up data values

    Thanks for responding.

    I still need some clarity.

    For example, the default email template for Case Auto Response uses the data field value {!Case:Customer;Valued Customer}. How can I find that value in the system?

    Thanks!

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Techniques for looking up data values

    Hi Gregat,

    As per my understanding,

    you could find all data value fields in Settings > Customization > Customize the System > Component > Entities > Case > Fields > Display Name,

    pastedimage1573442517637v1.png

    Regards,

    Clofly

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans