Page 1 of 1

solution titleText

PostPosted: Wed Jun 07, 2017 1:55 pm
by Peter de Groot
Hi all,

is it somehow possible to set the solution titleText by code?

solution_titleText.png
solution_titleText.png (22.57 KiB) Viewed 701 times


Regards,

Peter

Re: solution titleText

PostPosted: Thu Jun 22, 2017 10:07 am
by vschuurhof
We currently have no API call for that to change that on-the-fly. But, if you would like to change this at the startup of your solution there is a workaround.

You could use an i18n key for that property, like "i18n:solution_title" and in the "onOpen" event of your solution change that key to any value, like this:

Code: Select all
i18n.setI18NMessage('solution_title', 'My brand new title');


On that event it will work. However, if you change that at a later stage inside your solution the title will not refresh.

Would that work?

Re: solution titleText

PostPosted: Tue Jun 27, 2017 9:04 am
by Peter de Groot
Hi Vincent,

That will do, thanks.


Regards,

Peter