Question

How to generate a word doc on click of a button?

Hi ,

Please let me know the steps to generate a word doc on click of a button.

Thank you !

***Updated by moderator: Lochan to add Categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
August 5, 2015 - 12:06pm

Hi

You can check out of the box "WordEmbedMergeTest" flow under ( PegaSample -Task )  to get the idea about the same.

Also, you can find this link useful : https://pdn.pega.com/forums/automatically/create-word-document-automatically

Pega
August 5, 2015 - 12:37pm

Hi Parthyusha,

There are different ways of doing this and 718 provides the most options for this.

What version of PRPC are you using - and what do you need to be put into your WORD file ?

See this post for one example of creating an (arbitary) WORD file on the Server using XML for instance : What is a proper way to include report into a word document?

Cheers

John

August 6, 2015 - 8:00am
Response to JOHNPW_GCS

Thank you for the reply.

The requirment in my application is when user clicks on a button , word doc should get generated with the information on pyworkpage.

Regards,

Prathyusha