35
Views
9
Comments
Solved
How to manage screen items
Application Type
Reactive

I'm looking for a way to manage the labels on the screen.

I learned how to use StaticEntity to manage frequently used items on the screen, but I want to manage them for all items.

For example, search fields, table headers, and everything else. More specifically, all the text items on the screen will be Expressions.


I've figured out how to store all the ScreenItems in one StaticEntity, but StaticEntity doesn't provide a good search experience either. If you want to search on Label, there is no way to search. ID is displayed.

Hovering over the ID did not show the Label information.


If you know how to fix these problems please let me know.

2023-07-21 02-30-20
Masahiro Ohno
Solution

Daniel Kuhlmann-san

StaticEntity is used because it is possible to replace all at once when there is a change in the label used in multiple places.

Multilingual Locales cannot do this.


Also, I would like to implement it only in Japanese, and since the default is English, I feel that this is not the case.Is Multilingual Locales recommended in such cases?

2024-07-18 10-54-11
Abhishek Hayaran

Hi Masahiro,

Instead of Using Static Entity you can create a normal Entity and use it in this case.

2023-07-21 02-30-20
Masahiro Ohno

Abhishek Hayaran-san

Why do you think so?

Entity is assumed to be changed by the user, so CRUD can be used, but StaticEntity is assumed not to be changed.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

Why do you want all labels to be filled via static entity? Why not use the multi language capabilities of OutSystems to maintain the labels content on one central place, which is much easier to implement and also will be more performant solution.

https://success.outsystems.com/documentation/11/developing_an_application/design_ui/multilingual_reactive_web_and_mobile_apps

Regards,

Daniel

2023-07-21 02-30-20
Masahiro Ohno
Solution

Daniel Kuhlmann-san

StaticEntity is used because it is possible to replace all at once when there is a change in the label used in multiple places.

Multilingual Locales cannot do this.


Also, I would like to implement it only in Japanese, and since the default is English, I feel that this is not the case.Is Multilingual Locales recommended in such cases?

UserImage.jpg
Puja Rani

Hi,

We can display Label and also search on Label column in Static entity. Can you explain what do you mean by this statement "StaticEntity doesn't provide a good search experience either. If you want to search on Label, there is no way to search ".  If you can share more details on what issue you facing, then can help better suggest.

2023-07-21 02-30-20
Masahiro Ohno

Puja Rani-san

StaticEntity labels cannot be searched using CTRL+F on ServiceStudio.

Also, Identifier is specified with letters, but if you check the inside of StaticEntity, the ID is numbered with consecutive numbers.


Even more difficult to use is that when specifying an ID as an argument, the Identifier is displayed, but since we use Japanese, some developers do not understand even if the English Identifier is displayed.

A solution would be to show a Label on hover, but this is not implemented.

UserImage.jpg
Puja Rani

I was able to search with label in Service studio. Second , if you want there is option that you can set Label column as Identifiers as well(do right click on label column to get option)

2023-07-21 02-30-20
Masahiro Ohno

Puja Rani-san 

Isn't that the Label?

Looks like an Identifier to me.

And if you replace all at once with that method, it seems that conversion from English to Japanese will fail, so that method is unlikely to be adopted.

UserImage.jpg
Puja Rani

Yes that's a label column, I set it as an Identifier.

I am not sure if I get your issue, but with your this statement  " but since we use Japanese, some developers do not understand even if the English Identifier is displayed. " , you can change your Id column to text and add any text value too which is understandable. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.