How to render the stream stored in a property in the correspondence rule
I have a grid where one of the columns is a Rich Text Editor. The content entered in this Rich Text Editor is stored in the stream form in the property. Now, I want to send a mail with the content entered by the user. I am having trouble to render stream stored in the property in the correspondence rule. PFA doc for the screenshots.
Can somebody help me on this? Thanks in advance.
***Updated by moderator: Lochan to add SR details***
@SantanuBhattacherje - I have tried your approach but it is rendering blank when I open the attachment. PFA doc for the screenshots.
@ManikumarJ - I have tried including Rule-HTML-Paragraph and Rule-Corr-Fragment in a correspondence rule but is showing HTML tags as is in the Case attachment. This is expected I guess as I am using a property reference containing HTML Stream in these rules.
I am now able to render the URLs in the attachment when I leverage tools.getActiveValue() method in a control , refer it in a section specifying the target property, including the section in the Correspondence rule, we can render the HTML stream present in the target property to display as a URL in an email attachment.
When I am using tools.getActiveValue() method in a control, I am able to render the stream content. But, in my case, the stream content contains a hyperlink but is not acting like one when I click on it in a PDF file as it is not opening any new tab in the browser. Also, the cursor is not changing on hover of the hyperlink and no tooltip is displayed. PFB screenshot for the same. (The stream content is similar to the screenshots in the earlier attached doc.) Not sure why this is happening. Can somebody help me on this? Thanks in advance.