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: 3/4/2020 下午1:33 |
Seen: 1644 times |
Last updated: 16/4/2020 上午10:00 |