Skip to content
Log in

Article - Liquid Object Reference

On this page

Description

The Article object contains information about a specific Article that can be viewed on the Store.

:::note This object supports custom data via the data attribute. :::

Backed by

This drop renders the s_c__Article__c Salesforce object. A theme writes it as article.

Liquid attribute Salesforce field
author s_c__Author__c
identifier s_c__Path__c
meta_description s_c__Meta_Description__c
meta_keywords s_c__Meta_Keywords__c
meta_title s_c__Meta_Title__c
search_keywords s_c__Search_Keywords__c
subtitle s_c__Subtitle__c
title s_c__Title__c

Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.

Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from article.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
author String Returns the value of the Author attribute
body_content String Returns the value of the Body attribute as rich text
canonical_url String Returns the complete canonical url for this Article
content_blocks List[ContentBlock] Returns a list of Content Blocks associated with this Article
hero_image Image Returns the Hero Image
id String Returns the unique id for this Account
identifier String Returns the value of the Identifier attribute
introduction_content String Returns the value of the Introduction attribute as rich text
meta_description String Returns the value of the Meta Description attribute
meta_keywords String Returns the value of the Meta Keywords attribute
meta_title String Returns the value of the Meta Title attribute
path String Returns the url path for this Article
publish_on Timestamp Returns the timestamp of when this Article was published
published? Boolean Returns whether the Article is published
related_articles List[Article] Returns a list of related Articles
requires_login? Boolean Returns whether the Article requires login to view
search_keywords String Returns the value of the Search Keywords attribute
social_image Image Returns the image to be used when sharing this Article
subtitle String Returns the value of the Subtitle attribute
summary_content String Returns the value of the Summary attribute as rich text
title String Returns the value of the Title attribute
url String Returns the complete url for this Article

Available on

Was this article helpful?

Was this article helpful?