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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / entity list set displa...
Power Pages
Unanswered

entity list set display name

(0) ShareShare
ReportReport
Posted on by 60

I am facing a strange issue with entity lists. I am including multiple entity lists on my page with the entitylist liquid tag:

{% include "entity_list" key:"List 1" %}
{% include "entity_list" key:"List 2" %}
 
Each contains 'View 1' and 'View 2'.
In the entity list configuration, i have set the display names to List1-View1, List1-View2, List2-View1, List2-View2.
 
However, when I am importing these lists, the display names are not visible on the page. I can only see "View 1" and "View 2".
 
I have done this on other pages, and it works fine there. I have tried to reconfigure these lists, but with no success.
The configurations are the same, with page size = 5 and entity permissions enabled.
 
Is there a way to set the list's display name with liquid tags?
 
Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @TheIntern ,

     

    You can get the name of the entitylist via adx_name property of entitylist object. You can find an example of rendering entitylist here

  • TheIntern Profile Picture
    60 on at

    But how do I set the display name using the liquid tag? The link you shared talks about fetching it

  • Community Power Platform Member Profile Picture
    on at

    Sorry, I may be missing something.. but if you have separate entity lists setup with the relevant views and you have named them as 'List1-View1' etc then why could you not call each of them in your web template by name?

     

     

     

    {% include 'entity_list' key: 'List1-View1' %}
    {% include 'entity_list' key: 'List1-View2' %}
    {% include 'entity_list' key: 'List2-View1' %}
    {% include 'entity_list' key: 'List2-View2' %}

     

     

     

  • TheIntern Profile Picture
    60 on at

    I want to have the view selector showing. When i import the two lists into my page, it uses the view name in the selector, even though i have set display name from advanced settings

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    I think I see your problem. This looks to be a bug in the out of the box rendering of the view drop-downs. It does not look to take the 'display name' into consideration when rendering these using the standard web templates.

     

    Name.jpg

     

    Name1.jpg

    You can change the wording of these using jQuery.

    Open your Entity List -> Options -> Custom JavaScript -> Paste the following (and amend as required)

     

    $(document).ready(function() {
    $("body").find("a[aria-label='Active Contacts']").html("Hello world");
    });

     

     

  • TheIntern Profile Picture
    60 on at

    Thanks, that helps!

     

    I am also facing an issue where when i have multiple lists on a page, changing the view from first grid makes the scroll go all the way to the bottom of the page. can you help with how that can be addressed?

  • TheIntern Profile Picture
    60 on at

    also, the change you suggested goes away sometimes, after selecting a different view. not sure how that can be changed back

  • Community Power Platform Member Profile Picture
    on at

    I think we have been caught out by the portal cache.

    This looks to work fine using the display name.

    Populate the display names then be sure to login as an administrator and clear your cache using the "clear cache" button at:

    https://yoursite.microsoftcrmportals.com/_services/about

     

  • Community Power Platform Member Profile Picture
    on at

    It looks like we have been caught out by the portal cache.

    This does appear to work as expected using the display name.

    Ensure you are logged in as an administrator and visit https://yoursite.microsoftcrmportals.com/_services/about

    Click the "Clear Cache" button and refresh your page.

  • TheIntern Profile Picture
    60 on at

    My issue was not resolved by clearing cache. the code works for me 🙂

    however, the scrolling issue is still present.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard