Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Entity Object and additional columns using liquid

(0) ShareShare
ReportReport
Posted on by

Hi, 

The articles object allows you to access a collection of article objects... I added my custom column name = class

I am able to get the attributes content, name, title, rating, etc.... How I can get my custom colum class or where do I need to add my colum so I can access it ?

<a class=title href={{ article.class | escape }}>{{ article.title | escape }}

I am using the sample below... but pretty much unable to get the value of my new column.

{% assign count = count | default: 3 %}
{% assign languagecode = website.selected_language.code %}
{% assign popular_articles = knowledge.articles | popular: count,languagecode  %}
{% if popular_articles %}
    
{% for article in popular_articles %}
{{ article.title | escape }}

{{ article.description | escape }}

{% endfor %}
{% endif %}

Thank you, 

Bill

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Entity Object and additional columns using liquid

    Ok, In that case you can use your own Fetchxml and include the fields there. You can generate your Fetchxml from the Advanced Find and then use it in the liquid template.

    This should help you: www.engineeredcode.com/.../power-apps-portals-fetchxml-liquid-tag-and-entity-permissions

    dyn365apps.com/.../

  • Bill Ramz Profile Picture
    Bill Ramz on at
    RE: Entity Object and additional columns using liquid

    I am not using fetch nl using the default object per Microsoft document =)

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Entity Object and additional columns using liquid

    Hi,

    You need to include these columns name in your query for example if you are using Fetchxml to get article record there you need to include these new columns.

    Check other share your complete page code here for checking

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans