Question

6
Replies
2480
Views
Gobi S Member since 2010 1 post
Capgemini BV
Posted: 4 years ago
Last activity: 3 years 10 months ago
Closed

Getting empty values when referencing a property directly in Word Template

Hi All,

I am working on a requirement where I have to generate word document from a Word template.

I am trying to create Word Document using pzGenerateDocument RUF (as per solution mentioned in https://pdn.pega.com/community/pega-product-support/question/generate-w…).

I am facing one problem, If I do a property reference for eg: {pega:reference .PropertyName} directly in the WordTemplate, I am not getting any value.

But If I refer same property inside the Corr rule then I can see the Value. (See the attachment)

Note: If I Refer a property inside a Corr rule and insert the corr in WordTemplate, I am able to see the value.

Property reference through {pega:insert corr=CorrName} is working

Direct properrty reference {pega:reference .PropertyName} is not working, returning empty value.

I also found this link https://pdn.pega.com/support-articles/word-merge-does-not-pull-pegarefe…. Not sure this is the actual Root cause for my issue also.

Am I missing anything here? Need your Kind Help!!

Thanks in Advance

 ***Updated by Moderator: Lochan. Removed user added Ask the Expert and helpme tags. Apologies for confusion, shouldn't have been an end-user option; edited Category***

User Interface
Moderation Team has archived post
Share this page LinkedIn