Hi everyone,
In the current setup, users are passing dID in web service calls to download documents from UCM. But soon we are going to have a DR setup and we are going to set up replication between the current instance and the DR instance but then, documents checked into one instance may not have the same dID when they get replicated to the other instance. So we need to find a way for the users to be able to download any revision of a document without passing dID (for example, by passing dDocName and dRevisionID). According to documentation for GET_FILE service:
Given a dID or a dDocName and a RevisionSelectionMethod parameter, the service determines the file name of a particular rendition of the revision and returns that file to the client.
dDocName: The Content ID for the content item.
- If dDocName is not present, dID must be present and RevisionSelectionMethod must not be present.
- If RevisionSelectionMethod is present, a rendition of a revision of the content item with this name is returned, if it exists. If RevisionSelectionMethod is not present, dDocName is used in error messages.
- Optional Service Parameters
RevisionSelectionMethod: The revision selection method.
- If present, dDocName must be present. The value of this variable is the method used to compute a dID from the specified dDocName. Its value can be Specific, Latest, or LatestReleased.
- If the value is Specific, the dDocName is ignored, and dID is required and is used to get a rendition. If the value is Latest, the latest revision of the content item is used to compute the dID. If the value is LatestReleased, the latest released revision of the content item is used to compute the dID.
Is there any web service available to download any revision of a document without using dID? Additionally, if there is any way to preserve the dID of documents between two instances, that would be great.
Thanks