I need to store and retrieve settings (with application scope). Is there anything suitable included OOTB?
My aim is to have them easy accessible from the Tools or System (for editing) menu with the ability to feed them via the gradle methods.
I need to store and retrieve settings (with application scope). Is there anything suitable included OOTB?
My aim is to have them easy accessible from the Tools or System (for editing) menu with the ability to feed them via the gradle methods.
The entity designed for this is the UserPreference entity. There are convenience methods on the UserFacade (ec.user) for getting and setting these preferences, and they are already used for things like setting the light/dark theme, etc. There are even transitions in the apps.xml screen that can be used to set preferences, and screens that use them.