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
GOLDYGOLDY 

Can we create visualforce page for Knowledge Article

Hi,

I have to design one visualforce page which will display the List of Cases and Articles both.So, for that I have to create custom controller but I am not able to find out the Knowledge object in salesforce where I can get the details of Article.Can we do the customization for Article or create the visualforce for knowledge article?

Please help me out for the same.

Thanks,
Shirish

paul-lmipaul-lmi
setup > customize > knowledge > article types. the api names end in __kav instead of __c

find the API name, and then your controller reads that object like you would any other object in salesforce. note, you can only display the content, you can't use visualforce to modify it in any way (not supported yet).
francoisLfrancoisL

Hi,

 

To create your VF page with a list of articles, you can:

 - use VF component knowledge:articleList (http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_knowledge_articleList.htm)

 

 - use SOSL/SOQL and quering KnowledgeArticleVersion object

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_knowledgearticleversion.htm

MacAndersonMappBaseMacAndersonMappBase

Hi Shirish!

 

I echo the first reply when you create a new article type you are essentially creating a new object in SF.  The only difference is the extension __kav instead of __c (in visualforce you reference the article controller --- like this --- <apex:page standardController="articletype__kav">

 

: > )

Best and talk soon, Mac Anderson