Available Now: Explore our latest release with enhanced accessibility and powerful IDP features
By Heather Dinsdale | 2021 Nov 23
5 min
Tags
salesforce
office
generation
Ever wondered if you could create PDF contracts from Salesforce®, with no server required? Well, in this article, we share a simple, secure method of Salesforce contract generation — Apryse WebViewer — for those looking to streamline contract management and create efficiencies in a contracting or quoting process.
Salesforce developers can check out the doc gen sample project on our GitHub.
This Lightning Web Component plugs right in to look and feel like part of your Salesforce solution. Users can then create contracts using any Office or Word templates on the fly, with fast, in-app processing, for pixel-perfect results in seconds. At no point does your data leave the Salesforce platform.
Read on for details on these Salesforce-native, dynamic doc gen features, plus a step-by-step tutorial on how to get your Salesforce contract generator up and running in minutes.
Learn more about our many other capabilities on our Salesforce page. Or experience the web demo to see features for creating contracts in Salesforce at work in your browser. Check out the end of this post for links to further resources.
With a Salesforce-specific WebViewer that snaps into any Salesforce app as an LWC — contract generation in Salesforce has never been easier. Salesforce.com uses the very same technology in its Salesforce Industries group to accelerate custom digital transformation projects.
Features to auto-generate contracts come out of the box, ready to deploy to your Salesforce environment in minutes. Features are also fully flexible.
WebViewer plugs in as an LWC for serverless, dynamic contract generation
WebViewer plugs in as an LWC for serverless, dynamic contract generation
With Salesforce contract management in WebViewer, you can:
For example, to create a PDF contract from an opportunity or an order, you could...
You're free to use templates in a variety of Office formats, created in any familiar Office tool or anything that can create a Word document.
Next, with its built-in Office engine, the component automatically detects the formatting and styling of your Office templates. It then dynamically reflows content to fit newly inserted text, figures, and images — using the Apryse SDK’s leading accuracy to preserve the original look and feel of your document.
Since there are no server-side dependencies or API calls out, templates and data are processed natively to your Salesforce solution reliably and on the fly. Any confidential information never leaves your control.
Lastly, you can set up the solution to track the contract through an approval process or use workflow alerts to notify you of your contract renewals. You can also simplify the recycling or migration of your template mappings by saving them as a custom metadata record.
Use the following steps to extend your Salesforce capabilities by creating, uploading, and editing contract templates with little-to-no training.
Note: This is just one way to complete this task; you can also customize this process to do it your own way following Salesforce contracts best practices.
1. To create a Salesforce contract from an opportunity, first create the template using Google docs or another program. You can use Microsoft Word if you have a license, but it is not required.
The following image is a sample contract.
2. Go to the Salesforce Home tab to upload the template.
3. In File Explorer, click Upload Files.
4. Upload the template you created.
Now, you can generate contracts or generate Salesforce agreements by using the template.
5. To open the template, go to File Explorer > Search. Type the file name and open it.
The file opens in the Salesforce main window.
Note: If the file does not automatically open, you may need to download a local copy first.
6. Once the template displays, go to the File Explorer section, and click Document Generation.
7. The template keys display on the right-hand side of the screen. Replace the text in each value field with your custom data.
For example, where the first value displays “Replace {{Bank}},” click and type in the real bank name.
8. Fill out the remaining value keys.
9. When finished, scroll to the bottom of the Document Generation section, and click Fill Template.
This applies all your custom key values to the contract template.
10. To download a PDF copy of your new customized contract, click the gear wheel, then click Download.
The file now opens in your PDF viewer.
11. To download a PDF copy of your new customized contract, click the gear wheel, then click Download.
And that’s it! You’ve created a contract template to customize whenever you generate new contracts. Use it daily and streamline your quoting and proposal process.
You can also consider adding more professional, Salesforce-native features down the road, such as annotations, digital signatures, redaction, collaboration, and much, much more.
The WebViewer LWC contract generator is just one part of our definitive document application development platform for Salesforce. This lets you easily build complete and professional document experiences for Salesforce that are fully customizable. The built-in viewer UI is also fully developer friendly, which means they will have little problem tailoring it to match any specific workflow requirements.
For more information on our Salesforce contract generation, visit our Salesforce page or our PDF Generation Library using JavaScript page.
Developers can check out our Salesforce documentation, including Office document generation via JavaScript.
Start your free trial today with unlimited usage. And should you have any questions or feedback — don’t hesitate to talk to one of our product specialists or the developers who built the product for support. We’d be delighted to help.
Tags
salesforce
office
generation
Heather Dinsdale
Related Products
Apryse for Salesforce
Share this post
PRODUCTS
Enterprise
Small Business
Popular Content