Download page Publishing Document Outside of Salesforce.
Publishing Document Outside of Salesforce
This API publishes the agreement document for the activated agreement to an external location. This method will write the data into an integration object. A trigger should be written to send the document to the external location.
Prerequisite
Ensure that the APTS_ContentRepositoryType admin object value is set to External. For more information, see Admin Entries.
API
Signature
publishToExternalRepository
webService static Boolean publishToExternalRepository(Id agreementId, Id attachmentId)
Request Parameters
Name
Type
Description
agreementId
ID
The id of the agreement
attachmentId
ID
The id of the document that is to be published.
Response Parameter
Name
Type
Description
result
Boolean
Indicates whether the document was published successfully.
Code Sample
Id agreementId = agreement.Id;
Id attachmentId = attachment.Id;
Boolean response = Apttus.AgreementWebService.publishToExternalRepository(Id agreementId, Id attachmentId);
CODE
Integration Details
Use the following information in your integrations with Apttus Contract Management Web Services API. For information on how to get started, refer to Integrating Conga CLM with External Systems.