Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Can anyone guide me to find out what Content Objects we can access via API.

Recently I found out that "ContentWorkspaceDoc" object threw object inaccessible error when we try to execute an SOQL query on this Object if the API logged In User does not have "Salesforce CRM Content User" checked.

Even though that User is a Content Library Administrator in Library without this checkbox check.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The best place to get this sort of information is the web services api docs. From the Docs:

UserPermissionsSFContentUser: Indicates whether the user is allocated one Salesforce CRM Content User License (true) or not (false). Label is Salesforce CRM User. The Salesforce CRM Content User license grants the user access to the Salesforce CRM Content application.

special access restricitions for portal users:

Customer and Partner Portal users must have the “View Content in Portal” permission in order to query and obtain content in libraries where they have access.

share|improve this answer
    
thanks. I knew about the Content permission for Portal but didn't found this "UserPermissionsSFContentUser" in docs. Thanks for informing. –  VarunC Jan 18 '13 at 6:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.