Javascript API to retrieve data from Resource Bundle

Hi All,

I would like to get a message from AppResources properties file based on some conditions in the UI page using CAF javascript.

Could you please point me to the CAF javascript API where the methods are mentioned to retrieve properties from Resource Bundle?

Kind regards,
Raj

Please see the “CAF Tag Library Reference” in the provided documentation for the “CAF Html/Control/Output/Include Resource Bundle” control.

Hi Raja,

Also the following works for me:

var myValue = ‘#{ProjectName.applicationResources[“g11n.xxx.i18n.key”]}’;

Hope it helps,
Vlad Turian

Hi Eric, Vlad,

Thanks for your inputs.

I am using this javascript API now :slight_smile:

Kind regards,
Raj