Before creating a Document Solution, let's review the concept first.
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.
These are individual pieces we have:
Now, that you know the concept, we can see it in action. As an example of generating a document using Maven Documents from start to finish, we will create and generate a simple quote document. So let's start!
To create a Document Solution follow these steps:
Open the "Maven Documents" app.
Go to the "Document Solutions" tab.
Click the "New" button to create a new Document Solution.
The "New Document Solution" screen contains the "Name" and "Description" fields. We're going to name the solution "Sales Quote".
If needed, you can fill in the "Description" field with information about the created Document Solution. 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. The next step is to get started with Query Builder so you can put some Salesforce data into the document.
You will find Advanced Settings as a separate tab on the "Document Solution" Layout. The tab contains settings that let you manually adjust certain aspects of the Document Solution's behavior.
The component contains several parameters:
Default value: False
The value is shown as a toggle:
The support team primarily uses this parameter. Before making any changes, contact your support agent.
Default value: True
The parameter is shown as a toggle:
"False" is the option for the 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 parameter 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. If you still need a date in the specific format and the formatting is 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 a formula field on Salesforce, that will hold the data from the child field.
Default value: Google App Script
This parameter is presented as a picklist with the following options:
Default value: Async
This parameter is presented as a picklist with the following options:
If you are still unsure about the purpose of any of these settings, we've added some help messages. Hover over the "i" icon next to the corresponding attribute and read the text.