• sampleuser101
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

Trying to display custom field "Description__c" that is part of "Article Type" object. I am not able to access that field from knowledge API.I get "Authorization Failed" error.

 

For clarity, the VF page is called from public force.com site. The code described below was extracted from SFDC app exchange - "Public Knowledge Site". The code works fine when standard field is referenced.

 

Here is sample code:

 

<apex:outputPanel layout="block">
    <ul>
        <knowledge:articleList articleVar="article"
            categories="products:phone"
            sortBy="mostViewed"
            pageSize="10"
        >
            <li><a href="{!URLFOR($Action.KnowledgeArticle.View, article.id)}">{!article.description}</a></li>
        </knowledge:articleList>
    </ul>
</apex:outputPanel>

 

Any clue ?