Now it would also be great if we could ask the GUI what the current language is set to...
For me just a function dbo.tsf_user_language() would help a lot and a similar kind of function that would be useful is dbo.tsf_user_timezone()
We also experience the same problem so i hope a solution can be provided by Thinkwise.
Kind regards
Ronald
This solution would definitely help us too!
In extension to this idea it would also be great to be able to use the Layout procedure on domain Elements. We often have situations (especially on status fields) were a user is only allowed to use certain element values or to move it from one element to one other element. Now if it were possible to show/hide certain Elements in the Layout procedure we wouldn’t have to work with workarounds like creating two similar Domains and using Layout logic to determine which one to show. Maintaining two (or more) similar Domains with Elements is both risky and ugly.
It would be good enough if somehow the Layout procedure recognizes Domain with Element type of fields and we can write logic on each individual Element within that Domain.
Anyone else seeing the value of this addition?
Hello
If I understand you correctly, you are looking for this idea which already exists:
We are working on this already. 2021.2 will be a bit too soon, but we expect to deliver this in the nearby future.
But in addition to the above, we often have situations in which a value is only supposed to change from A to B (not directly to C or D), or that a given user is allowed to use only certain status, while another user might be allowed to use more options.
My suggestion is more closely related to this idea (of which I'm not sure it will be covered by the Inactive Domain Elements Idea it was merged to), but instead of a Variant I'm suggesting the ability to use the various Elements in the Layout Procedure, which would allow us to hide specifiek elements based on above use cases.
Created a seperate Idea here:
In the last releases of Indicium, and soon available in the Windows and Web GUIs, a session variable is added that provides the language of the current user. This makes it possible to automatically generate a function that returns the translation of model objects in the user language.
See this code sample for instructions:
Translating model objects in business logic | Thinkwise Community (thinkwisesoftware.com)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.