addEntityContentReference

Description
This transaction adds an entity content reference along with related data such as content version, entity details (including the entity ID (InstancePK) and entity name), repository ID, start and end dates. An entity content reference stores the mapping of entities to references of content assets in an external content management system (known as a repository).
Web Services
Operation name: addEntityContentReference
Service name: DWLBusinessServices
Example
Add a new content reference with an InstancePK of "103212", an EntityName of "EntityA", a ContentVersion of "1", a StartDate that is the current date, and an EndDate that is not specified.
Usage information
Not applicable
Preconditions
Repository must exist.
Mandatory input
  • ContentRefPart1
  • InstancePK
  • RepositoryCdId
Inquiry levels
Not applicable
Filter values
Not applicable
Transaction behavior
If the content reference already exists for the same entity, it cannot be added and the transaction will fail.

If the EndDate is less than the current date, the content reference is considered inactive.

If the EndDate is not specified or is greater than the current date, the content reference is considered active.

Request message
<TCRMTxType> addEntityContentReference

<TCRMTxObject> ContentReferenceBObj

<TCRMObject> ContentReferenceBObj

Response objects
ContentReferenceBObj
Special note
Not applicable