Replace variable values dynamically in the word document

Nagashree5
Tera Contributor

Hi All,

 

Requirement: There is a word document of 3 pages which has Text, logo and singing area at the last page. Once a Agreement(Catalog item name which creates a Custom RITM) is submitted from the portal, the word document should get automatically attached to the RITM with the variable values filled in between the text. 

The word document template is similar for all the Agreement RITM's, the variable values needs to be filled in few places over the document.

Can anyone please suggest a way of doing this.

 

Thanks in Advance.

1 REPLY 1

Jaspal Singh
Mega Patron
Mega Patron

Hi Nagashree,

 

Did document a blog over this few years back. Though it is for excel you can replace the extension to .docx to attach it as document for a check.