Download page Applying Security Parameters to a PDF.
Applying Security Parameters to a PDF
This API applies Adobe PDF security parameters to the PDF document. Ensure that you have set an admin entry with the PDFSecurityDefault tags. For more information, see CLM for Administrators.
TheapplyPDFSecurity()function provides a great way to handle document security. Using this function is fairly complex, and what we want is a simple way to quickly apply security. The function provides us with just such an option. The actual parameters in the policy could be docId,session Id,serverUrland so on. This API controls the security properties of a PDF document, such as Content Copying, Filling of form fields, and Printing.
The id of the PDF document to apply security parameters to.
Yes
session Id
String
The Salesforce session id.
Yes
serverUrl
String
The Salesforce server Url.
Yes
Response Parameter
Name
Type
Description
result
Boolean
Indicates if the security parameters were applied successfully to the PDF.
Code Sample
ID docId = 'a0Y61000002K6IR';
String sessionId = sessionId; //This is the session Id.
String serverUrl = System.Url.getSalesforceBaseUrl().toExternalForm() + '/services/Soap/u/50.0/' + UserInfo.getOrganizationId();
Boolean result = Apttus.MergeWebService.applyPDFSecurity(docId,sessionId,serverUrl);
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.