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 :
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

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    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

  • Bill Ramz Profile Picture
    on at

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

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    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/.../

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans