Notifications
Announcements
No record found.
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
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 %}
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
Thank you, this is what I was looking for
Hi Oliver,
I can display the fields using the liquid objects, but then I would have no way to update the data.
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'
%}
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2