Dynamic Document Assembly Workflow: Attachments
Using Dynamic Document Assembly, you can merge independent attachments from lookups (e.g., Products) to line-item level objects (Agreement Line Items, Proposal Line Item) into a single master agreement template using a set of predefined rules within a ruleset.
Use the following workflow to configure and define Doc Assembly Rulesets, Rules and Components for agreement and proposal templates containing dynamic segments to insert attachments.
Configuring Dynamic Document Assembly
- Specify the API name of the Child Object Types for the Agreement and/or Quote/Proposal objects in Comply Custom Properties.
- Populate the Doc Assembly Component Type Picklist.
- Add Attachments fields to the Doc Assembly Ruleset and Doc Assembly Component page layouts.
- Add Related Lists to the Template Object page layout.
- Enable Document Assembly Rulesets for the Quote/Proposal object (optional).
Creating Dynamic Document Assembly Rulesets
- Define a Doc Assembly Ruleset: Create a Ruleset that comprises the Rules that define the Components to be inserted into the generated document.
- Define Doc Assembly Rules: Define a Rule to serve as a container for Doc Assembly Components that reference attachments on line item objects.
- Specify Doc Components: Define the doc components (attachments) and the sequence in which they are included in the master agreement or proposal template.
- Navigate to X-Author and checkout an existing template or create a new blank template and check it in. Once the blank template is checked in successfully, insert a dynamic section in the template. For an existing template, insert the dynamic section in the required location and specify the Ruleset. The Dynamic section allows you to define the Ruleset for which the template is applicable for an agreement. This blank template is used as the master agreement template.
- Once you click Generate or Preview, if the agreement satisfies the Rules defined in the document Ruleset, the corresponding master agreement template for that Ruleset is shown. Select the master agreement template and click Generate. All the components defined in the Document Ruleset are inserted in the sequence by which they are defined.
This page only includes instructions for configuring and create Dynamic Document Assembly Rulesets for attachment components at the line-item level. If you intend to create Rulesets that also include Clause template components, refer to Dynamic Document Assembly Workflow: Clauses for additional configuration that requires Field Sets to filter identified clause components.
Configuring Dynamic Document Assembly Custom Properties
To enable support for Line Item attachments in Dynamic Document Assembly, you must create or modify existing Comply Custom Properties to identify the Child Objects of the Agreement and/or Proposal object that you want to include in your Rulesets.
Populating the Doc Assembly Component Type Picklist
Each defined Doc Assembly Component requires a "Type" to identify its purpose in the generated document. Follow these steps to populate the Doc Assembly Component Type picklist with desired values.
- From Setup, go to
- From Custom Fields & Relationships, click Type.
- From Picklist Values, click New and add the required type values and save them.
Adding Context Fields to the Doc Assembly Ruleset Page Layout
To use line item objects as the context for a Doc Assembly Ruleset, you must add two fields to the Doc Assembly Ruleset Page Layout.
Adding Attachment Fields to the Doc Assembly Component Page Layout
To configure Doc Assembly Component for line item attachment support, you must add three fields to the page layout.
Including the Related Lists
Enabling DAR for the Proposal Object (Optional)
By default, a custom property is created for the Quote/Proposal object when you upgrade or install the Apttus Proposal Management package, but you still need to manually add the Quote/Proposal object to the picklist when creating a new Doc Assembly Ruleset.
Creating Doc Assembly Rulesets
User Permissions Needed | |
---|---|
To create a Doc Assembly Ruleset | Doc Assembly Ruleset: Read, Create, Edit. Agreement: Read, Create, Edit. Template: Read, Create, Edit Doc Assembly Rule: Read Doc Assembly Component: Read |