Version 2016 Word Templates is a useful feature with one noticeable limitation – when generating a Word Template based document, only one target record can be selected.
In many business scenarios, users would like to select multiple records (maybe after executing an Advanced Find query) and generate relevant document in one or two clicks.
In this post, I’ll demonstrate a customization based solution for generating Word Template based documents for multiple business records. In a following post, I’ll supply a more generic solution which can be applied to any template/entity.
Here is the final result – after implementing the following walkthrough, users will be able select multiple records and apply a manual Workflow Rule which will generate template based document for each record, saving it as a file attachment:
In the following walkthrough I am using the Account entity along with the Account Summary template. You can use any template enabled entity with any built-in/custom template.
- Create a Manual Workflow Rule (Real-time/background)
- Add a Perform Action step
- Target the SetWordTemplate Action. Click the ‘Set Properties’ button
- Map Word Template record and target business record
- Save and activate the Workflow Rule
- Live long and prosper