Question


Accenture
IN
Last activity: 21 Apr 2016 11:09 EDT
How to convert corespondence to word file.
Hi ,
any one knows how to convert Correspondence rule to word file .
thanks for help.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
IN
Hi Pramod, Good morning!
would reading the correspondence content in a property and referring this property in a cloned flow action of CreateMergedWordDoc works?
Please share your thoughts/comments, Thank you!
psahukaru


Infosys
AU
If you want to convert Correspondence rule to word on client side, then you can follow application document wizard approach (Designer Studio -> Application -> Tools -> Document). Need to create a word template and include following field code:
{pega:insert corr=CorrespondenceRuleName}
What is the exact use case and Pega version? Depending on that a simple solution can be followed like creating a file from Correspondecne stream and setting correct MIME type and File extension values through an activity rule.
Murali...


Accenture
IN
We have using pega 7.1.6 version right now. and the requirement is to generate a word file based on clip board data and attach this word file in mail.
can you please give me your suggestion on this.
thanks in advance.


Infosys
AU
Please try this approach:
- Create a Correspondence rule referring the clipboard data that needs to be included. Format the content as desired.
- Set the output of this Correspondence rule to a property using Property-Set-Corr method in an Activity rule.
- Create a file using this property (as it's contents) and link it to work object, so that this can be sent as an attachment in email.
Hope this helps you!
Murali...


Accenture
IN
Hi ,
Any ideas/ suggestions to this issue.
Thanks
Pramod


Pegasystems Inc.
IN
see if this helps:
https://pdn.pega.com/how-use-word-template-based-correspondence-generation


Pegasystems Inc.
GB
There are some details here on using both the Microsoft 2003 XML Format to generate Dynamic WORD documents here; as well as some details of about using the Java Library DOCX4J.
https://mesh.pega.com/message/180938
https://mesh.pega.com/message/178125
And PRPC has (Out of the Box) way of generating WORD files that can editing and saved back to PRPC as well (using a Microsoft Silverlight control).
Also: I haven't tried this but you *might* be able to get away with just generating HTML; setting the file extension to 'doc' (or 'docx' maybe?), setting the MIME Type....
(Certaintly a similar approach works for generating EXCEL files - PRPC does this with the 'Export To Excel' mechanism for instance).
Hope this helps,
Cheers
John