Copies a document from the CMIS target system to Appian, creating a new version of an existing Appian document.
a!cmiCopyDocumentToAppian( scsExternalSystemKey, usePerUserCredentials, atomPubUrl, repositoryId, objectId, properties, appianDocument)
scsExternalSystemKey: (Text) The key from the Third Party Credentials admin console page that corresponds to the set of credentials that should be used to authenticate.
usePerUserCredentials: (Boolean) If
true the credentials set in the Third-Party Credentials settings page by the current user running the expression will be used. If
false the site-wide credential values will be used.
atomPubUrl: (Text) The Atom Pub URL of the CMIS target system.
repositoryId: (Text) The repository id on the CMIS target system.
objectId: (Text) The object id of the CMIS document that will be copied to Appian.
appianDocument: (Document) The Appian document to which the document from the CMIS system will be copied as a new version.
This function returns a writer and must be used with the bind() function.
Copy a Document from CMIS as a New Version of an Appian Document
Copy and paste the expression into the Interface Designer, save it, then call the interface in a Tempo Report to test.