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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Entity Form in Liquid

(0) ShareShare
ReportReport
Posted on by

I know that we can display an entity list in web template using liquid.

So, is there any way that we can do it for entity form? Adding entity form using liquid in web template?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    you can't access the entity form through liquid.. but you don't really need in my opinion

    as you have you probably have your record GUID in the parameter, you can retrieve your record, and access the attributes in your liquid

    docs.microsoft.com/.../liquid-objects

    {% assign account = entities.account['936DA01F-9ABD-4d9d-80C7-02AF85C822A8'] %}

    {% if account %}

    {{ account.name }} ({{ account.statecode.label }})

    {% endif %}

  • Verified answer
    Nicholas Hayduk Profile Picture
    2,863 on at

    Hi Sahithi,

    Yes, there is a Liquid tag for Entity Forms:

    {% entityform id: page.adx_entityform.id %} or {% entityform name: 'My Entity Form' %}

    Please note that this tag only works on Web Pages that are using a Page Template that is of type "Web Template".  If it's on a web page using a Page Template whose type is "Rewrite", this tag will not work.

    I just released a blog post that goes into a bit more details on the options, if you're interested:

    www.engineeredcode.com/.../dynamics-365-portal-how-does-the-entity-form-or-entity-list-get-on-the-page

    Nick

  • Sahithi Profile Picture
    on at

    Thank you, this is what I was looking for

  • Sahithi Profile Picture
    on at

    Hi Oliver,

    I can display the fields using the liquid objects, but then I would have no way to update the data.

  • Suggested answer
    Community Member Profile Picture
    on at

    Yeah, you can. I think you are looking for this answer:

    //Include an entity-list using liquid-tags.
    //Pass the name of the entity-list.
    {% include 'entity_list' key:'Display Contact Lists' %}

    You can also check this link:https://sank8sinha.wordpress.com/2020/07/27/liquid-code-tipscode-snippets-for-dynamics-portal/?wref=tp

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans