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)

D365 Portal Liquid - Return Url

(0) ShareShare
ReportReport
Posted on by 260

Hi all, 

I'm trying to return a list of links from an entity list.

Im using the liquid code below, but cant return the url.

Any help would grateful.

Martin

{% entitylist key: page.adx_entitylist.id %}
  {% entityview logical_name: 'my_entity_name' name:'My Entity List', page_size:20 %}
    {% for item in entityview.records %}
      
         <a href="{{ item.id.url}}">{{ item.name}}</a>
        
    {% endfor %}
  {% endentityview %}
{% endentitylist %} 


*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nicholas Hayduk Profile Picture
    2,863 on at

    Hi Martin,

    What type of entity is in the list?  Only certain entities have a URL (for example, Web Pages).

    If in your example the entity was Web Pages, the following Liquid should work:

    {{ item.url}}

    But if it's a custom record type, they won't have URLs associated with them.

    You can find out more here:

    community.adxstudio.com/.../entities

    Nick

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)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans