Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Get Genio texts in JS
Through UserMsg class we have access to texts defined in Genio for the server side (C#).
In QWeb there is api.GetUserMessage where we can get the texts providing an ID (JS).
The question here is, how can we get the Genio text in the MVC JS framework?
I'm not sure if this is what you're looking for, but you can refer those resources by doing this:
'@Resources.IDS_CALCAMORT_08'
This will try to get the text related to the current language.
This is a practical case:
QAnimation.showPleaseWait('@Resources.IDS_ROTINA_APROVTRANSARMAZ_04');
PS: Beware, that the ID of the resource will vary accordingly to the way that it is defined in Genio.
Keep Informed
About the Community
Question tools
Stats
Asked: 03/04/2020 13:33 |
Seen: 1565 times |
Last updated: 16/04/2020 10:00 |