function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sushieatersushieater 

knowledge article number

When I publish a knowledge article, it shows an article number like 000001500 in the article management view. This number is searchable in the public knowledge base and will return the correct article number.

 

When I am displaying the article using a custom VF page, w/ the article type as the controller, as in.

 

standardcontroller="How_To__kav"  

 

How do I reference this article number to display to the user?

 

It does not appear to be exposed in the schema that I can find.

 

thanks!

Best Answer chosen by Admin (Salesforce Developers) 
francoisLfrancoisL

ArticleNumber is quite a new features. Can you double check which API version you use for this VF page and change for the latest?

 

Thanks.

All Answers

francoisLfrancoisL

Hi,

 

You should be able to get the Article Number using this field ArticleNumber.

sushieatersushieater

Thank you for your response.

 

I can use ArticleNumber in the object returned by the ArticleList Tag, but when I try to access this using the following syntax, my VF page does not render properly and the I get an HTTP 401 error code returned.

 

{!How_To__kav.ArticleNumber}

francoisLfrancoisL

ArticleNumber is quite a new features. Can you double check which API version you use for this VF page and change for the latest?

 

Thanks.

This was selected as the best answer
sushieatersushieater

Thanks very much. That sorted me out