web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Display Dynamics 365 data within WebPage Copy(HTML)

(0) ShareShare
ReportReport
Posted on by

Hello!

I have a need to display data in the Copy(HTML) of a Web Page.  For example:

I have an entity list that provides a list of Accounts.  The user opens a details web page which displays an entity form. I would like to display Account information within the Copy (HTML) of that page. I am reading that this should be possible using Liquid, but am unable to make this happen.

Within the Copy (HTML) of the Web Page content record, I've added the following:

{% assign account = entities['account'][request.params.id] %}

Account Name: {{account.name}}

Created On : {{account.createdon}}

Last Modified: {{account.modifiedby}}

Modified By: {{account.modifiedby}}

Record ID: {{request.params.id}}

When the page is rendered, the labels are displayed, but no values with the exception of the Record ID, both label and data are displayed.

Should I be able to pull values from the Dynamics 365 record using Liquid?

Thank you

Tom

*This post is locked for comments

I have the same question (0)
  • Tom Thompson Profile Picture
    on at

    After revisiting this I realized my error.   I am trying to get the Account Name from a related record.  So when the page is rendered and am seeing the ID, it is the ID of the record and not the related account.

    So then my question is if it is possible to retrieve a value from a record that is related to the record the page is displaying??

    Thank you!

  • Verified answer
    Community Member Profile Picture
    on at

    Hi ,

    Yes it's possible . you get the id of the related record  : it should be a Lookup (Entity Reference) fields are returned as entity reference objects.

    then you use the entities object :  var relatedtEntity = entities[entity_logical_name][ lookupId] and from this object you get the values .

  • Tom Thompson Profile Picture
    on at

    This took me in the right direction and have successfully been able to display the related account name on my record.  

    Thank you.

  • Shakti Singh Rajput Profile Picture
    958 on at

    I am also want to display the particular fields and association block of account record.

    But this functionality, I want from Account Home where first i selected an account record and then have a button on which OnClick that button the action would be call and the necessary information would be displayed.

    Is it possible?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans