contents
Documentation Version
Summer '15 (API version 34.0)
Language
English
  • Summer '15 (API version 34.0) 34.0
  • Spring '15 (API version 33.0) 33.0
  • Winter '15 (API version 32.0) 32.0
  • Summer '14 (API version 31.0) 31.0
  • Spring '14 (API version 30.0) 30.0
  • Winter '14 (API version 29.0) 29.0
  • English
  • Japanese

ContentWorkspace

Represents a public library in Salesforce CRM Content. This object is available in versions 17.0 and later.

Note

Note

This object does not apply to personal libraries.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

  • Customer and Partner Portal users can only edit the library document object if they have a Salesforce CRM Content feature license.
  • Customer and Partner Portal users can query this object if they have the “View Content in Portal” permission. A user can query all public libraries where they are members, regardless of library permissions.

Fields

Field Details
DefaultRecordTypeId
Type
reference
Properties
Filter, Nillable
Description
ID of the default content type for the library. Content types are the containers for custom fields in Salesforce CRM Content.
Description
Type
textarea
Properties
Filter, Nillable
Description
Text description of the content library.
IsRestrictContentTypes
Type
boolean
Properties
Defaulted on create, Filter
Description
Read only. Indicates whether content types have been restricted (true) or not (false).
IsRestrictLinkedContentTypes
Type
boolean
Properties
Defaulted on create, Filter
Description
Read only. Indicates whether linked content types have been restricted (true) or not (false).
Name
Type
string
Properties
Filter, idLookup
Description
Name of the library.
TagModel
Type
picklist
Properties
Filter, Nillable, Restricted picklist
Description
The type of tagging assigned to a library. Valid values are:
  • U — Unrestricted. No restrictions on tagging. Users can enter any tag when publishing or editing content.
  • G — Guided. Users can enter any tag when publishing or editing content, but they are also offered a list of suggested tags.
  • R — Restricted. Users must choose from a list of suggested tabs.

Usage

Use this object to query libraries to find out where documents can be published.

If the content type is not specified when publishing a new version into a library, it will be determined by the DefaultRecordTypeId of the primary library.

You can't create, update, or delete a library via the API.