Creating Scrive Document from URL: Overview
To increase flexibility and enhance the possibility of integrating the Scrive package with other systems, you can create documents by providing a set of URL parameters to a VisualForce page called ScriveDocumentFromUrl.
Tip
Rather than accessing this page from the Visuaforce Pages list, you can add "/apex/scrive__ScriveDocumentFromUrl" after your instance address in the browser’s address bar.
The full url should have look similar to:
https://xxxx.salesforce.com/apex/scrive__ScriveDocumentFromUrl
(“xxxx” = the combination of letters and numbers for your own Salesforce instance)
Important notes on parameters
- In order for the functionality to work properly, parameters must be capitalized EXACTLY as described in the following articles. Any capitalization errors will prevent creation of the document.
- It is crucial to insert the “?” in between the address and parameters.
- The values are assigned to parameters by “=” (parameter=value).
- “&” must be added between parameters.
Example:
https://xxxx.salesforce.com/apex/scrive__ScriveDocumentFromUrl?parameter1=0¶meter2=testValue