function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Phil RossiPhil Rossi 

Visualforce page with Merge Fields for auto generating Secured Contract NDA

Ask: Create a Visualforce page (word document as template)  I want  this visualforce page to accept merge fields from a Secured Contract record  and then render as a word document so we can have our pre-approved NDA template auto populated. Thank you!
ShirishaShirisha (Salesforce Developers) 
Hi Phil,

Greetings!

You need to create an apex class to merge fields in the Visualforce page.Please find the sample code to merge the field to proceed further.

http://writeforce.blogspot.com/2014/08/using-merge-fields-in-visualforce-pages.html

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri