While creating a new Template Configuration, Users may choose “Multiple Records Template Configuration” Record Type. It allows retrieving data from many records and inserting them into a single page of a generated document where it would be then stored in pre-designed format, as shown in the example below. It should be noted that all tokens within 1 cell must have their names end with the same number. Each cell may have only one assigned number.
NAME: {{NAME1}} WEBSITE: {{WEBSITE1}} PHONE: {{PHONE1}} {{c.TODAY1}} | NAME: {{NAME2}} WEBSITE: {{WEBSITE2}} PHONE: {{PHONE2}} {{c.TODAY2}} | NAME: {{NAME3}} WEBSITE: {{WEBSITE3}} PHONE: {{PHONE3}} {{c.TODAY3}} |
NAME: {{NAME4}} WEBSITE: {{WEBSITE4}} PHONE: {{PHONE4}} {{c.TODAY4}} | NAME: {{NAME5}} WEBSITE: {{WEBSITE5}} PHONE: {{PHONE5}} {{c.TODAY5}} | NAME: {{NAME6}} WEBSITE: {{WEBSITE6}} PHONE: {{PHONE6}} {{c.TODAY6}} |
NAME: {{NAME7}} WEBSITE: {{WEBSITE7}} PHONE: {{PHONE7}} {{c.TODAY7}} | NAME: {{NAME8}} WEBSITE: {{WEBSITE8}} PHONE: {{PHONE8}} {{c.TODAY8}} | NAME: {{NAME9}} WEBSITE: {{WEBSITE9}} PHONE: {{PHONE9}} {{c.TODAY9}} |
The number of cells per page is defined during creation of the docx template. If the number of records selected for the document generation is smaller than the number of cells, then unpopulated cells will be left blank. If that number is greater, then additional pages are automatically generated. A document generated this way is stored in the “Files” object in the “Shared with Me/Owned by Me” folder.