We are here and ready to help.

Article Object

The article object is a knowledge base article. The article loaded is dependant on the article id in the URL.

https://support.supportbench.net/article/AR-1005

If no article id is supplied, then the object will be null.

To retrive the article, you can access by calling it directly within a tag.

{{ sb.article.id }}

id

Returns the id of the article.

 

title

Returns the title of the article.

 

summary

Returns the summary of the article.

 

like_count

Returns the article like count of the article.

 

comment_count

Returns the comment count of the article.  These are all the comments made by the community on this article.

 

modified

Returns the last modified time of the article as a local date. 

 

content

Returns the content of the article.

 

css

Returns the css of the article.  The CSS is only populated if the article is related to a knowledge base template that contains CSS.

 

Facebook Share Tweet

Was this article helpfu?

Yes No

Thank you for voting

×
Select company

You are related to multiple companies. Please select the company you wish to login as.