Great! So in summary, can I say the following:
1- A setting X can be scoped to either App, Tenant or User. This is based on how the setting was defined originally. Scoping a setting means, it is available on those scopes to read/edit, correct? So if a setting is defined for App & User, this setting won't have a value for Tenant, only for App and user?
2- When retrieving a setting value using the generic method of GetSettingValue/Async, it retrieves the value based on the hierarchy. What's the relation between retrieving the value and the scope of the setting definition? How are they linked togther?
3- When setting the value of setting, I have to decide which method to use, whether to set value on App, Tenant or user level. Also, what's relation between scope of setting definition and setting the value?
Finally, can we say that the scopes defined on a setting definition also defines the hierarchy used to retrieve the value of the setting? so if Scope is App and Tenant. Then only 2 levels will be searched, otherwise, default value?
Thanks
Thanks, then I need to extend the Tenant Entity with new field?
I added a using for Abp.Configuration and it worked well.
Thanks
I only see Async methods, I dont see the normal ones. Do I need to add any references to namespaces?
Hi I noticed in the monent-locale file L has different values as per culture.
In one of the grids you use moment:'L' to display date. When culture changes and depending on culture L gets another format.
Is that correct? If so, how can u query moment-locale to get actual format behind L depending on culture being used? Then I'll be able that se actual format with kendo instead of L.
Thanks
Thank you :-)
The current calendars use a format like that:
format: 'L'
Now for sure, somewhere inside the calendar it contacts moment Locales to find out what is the actual format of 'L' for the specific culture, correct?
Can you guide me to the code that translates format: 'L' to the actual format like 'DD.MM.YYYY'? Once I know that, I could extend Kendo UI widget to return a value based on that format.
Thanks
Thanks :)
Thanks :)
So, when I call refreshCache() that would translate to client side call? Can I see a concrete sample for some running code to just get the idea of how it works?
Thanks