Question

2
Replies
1147
Views
Close popover
Brahmeswara Rao (Brahmesh@)
Capgemini
Developer
Capgemini
SE
Brahmesh@ Member since 2013 150 posts
Capgemini
Posted: February 25, 2019
Last activity: February 25, 2019
Closed

How localize the property value in HTML rule.

We are generating PDF with case data but PDF content is not localized . Unable to refer the localized function for property reference like <p:r n="$this.Occupation"/>

<%= tools.getLocalizedTextForString("pyCaption","Occupation") %> </td><td class ="mcpTD" width="20%"> <p:r n="$this.Occupation"/>

I tried below but i didn't work . Is there any syntax that we can make it in one line instead of taking parameter apporach .

<%= tools.getLocalizedTextForString("pyCaption",<p:r n="$this.Occupation"/>) %>

***Edited by Moderator Marissa to update platform capability tags****

User Experience
Moderation Team has archived post