Question
Virtusa
IN
Last activity: 5 Jul 2022 13:21 EDT
Get field Label dynamically
Hello guys,
I have a requirement where I need to show currency symbol in field Label.
Example:
Case 1: pyWorkPage.X.CurrencySymbol = $
I have Amount field in pyWorkPage.X.Y context and for this field I should show Label as Amount ($) on UI.
Case 2: pyWorkPage.X.CurrencySymbol = €
Then my label should be like Amount (€).
I tried with field value by giving Amount ({.Currency symbol}) in pyWorkpage.X class and called it in pyWorkPage.X.Y. but it is not working.
Expecting some suggestions here.
Thank you