Before creating a Document Solution, let's review the concept first.
We encourage you to think of Document Solution as an IKEA Wardrobe. It is a functional and beautiful addition to your home, but before you can enjoy using it, you need to set it up from various individual pieces. We are here to guide you through the entire process so you can get the value from using the "wardrobe" as soon as possible.
So the individual pieces we have are:
Now, that you know the concept, we can start to see it in action. To show you how to generate your document using Maven Documents from start to finish, we will go into detail about creating and generating a simple quote document. So let's start!
To create a Document Solution follow these steps:
Open the Maven Documents App. You will be using this app through this tutorial, so you should get used to it.
Open the Document Solutions tab.
Click the New button to create a new Document Solution.
The "New Document Solution" screen has Name and Description fields. We're going to name the solution "Sales Quote".
You can fill in the Description field with information about the created Document Solution if needed. We will leave that field empty for now.
Once you are done here, click Save.
The Document Solution has been created. You completed the first step towards our goal: a quote document. Next, you'll get started with Query Builder, so you can put some of the Salesforce data in the document.
Instead of creating your Document Solution manually, you can also choose and install already set-up Document Solutions from our Template Gallery!
There you will find previews of the available templates. You can click on the preview image to open it in the new browser tab and have a closer look at the structure of the template.
To install the solution, just click Install.
Currently, you will only find a simple Sales Quote Template in the Gallery, but stay tuned - we plan to add many more very soon. Those new ones will include templates of the most often used documents in Salesforce such as Invoices, Orders, Agreements, Proposals, Contracts, etc.
Once installed, you will find the corresponding Solution in the Document Solutions tab. The Document Solution includes Button Configuration, Actions, and the respective Document Template connected.
You can freely edit the newly installed Document Solution: add new Templates, change existing ones, add fields in the Query Builder, add new actions, etc. It is owned by the user who has installed it and it behaves the same way as if it had been manually created.
You will find Advanced Settings as a separate tab on the Document Solution Layout. The tab holds the Advanced Settings component that will help you tweak some settings on the Document Solution manually.
The component contains several attributes that will likely grow over time:
Default value: false
The value is shown as a toggle:
This attribute is mostly used by the support team, so before playing with it yourself, better contact your support agent.
Default value: True
The attribute is shown as a toggle:
False is the option for a legacy functionality and will be abandoned in future releases, as the desired way of defining the variables is on the Maven Documents Query Builder tab.
Default value: empty
The Data Formatter attribute is defined with a string value.
Be aware of some consequences of having this setting enabled:
1. Date and DateTime fields will be sent in standard ISO format. But if you still need to have a date in the specific format and the formatting turned off, then you can create a formula field on Salesforce and then use it as a merge field in the query.
2. Having a parent.child query will break the generation process. For example, the OpportunityContactRoles.Contact.Name field in the document will cause an error in the generation process. Instead, you can create the formula field on Salesforce, that will hold the data from the child field.
Default value: Google App Script
This attribute is presented as a picklist with the following options:
If you are still not sure about the purpose of any of these settings, we've added some help messages. You just need to hover over the "i" icon next to the corresponding attribute and read the appeared text.