Let’s say a field values has a parameter in it. {1}
Now I want to pass a property value as param at run time and get the localized value for that field value.
@(Pega-RULES:Utilities).getLocalizedText(“FieldValueName”,“pyCaption”,tools)
I have a few properties in workpage which i will pass as param based on condition.
How get localized values for a field value when field values has parameters in it using getLocalizedText function?
SANJAYKUMAR
(Sanjay Kumar Choudhary)
2
@Connect@Abicom Did you find any solution approach for this problem statement ?
@SANJAYKUMAR @Connect@Abicom
You must pass the field value names and the parameters with this syntax:
“FieldValueName”+“\t”+Param.Name
For your example:
@(Pega-RULES:Utilities).getLocalizedText(“FieldValueName\t”+Param.Name,“pyCaption”,tools)
SANJAYKUMAR
(Sanjay Kumar Choudhary)
4
@SARAH GODFREY Perfect. It works for me. Thank You.