Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "bilalhaidar"

Thanks, then I need to extend the Tenant Entity with new field?

Hi, In case I need to add a field to every new tenant created. I need to add a "location" field. What's the recommend or best way to do it?

Shall I extend the UI of the Tenant Form? Is there another to work it out?

Thanks

Hi, When creating a new SettingDefinition, there is the option to scope it to either 3 options:

User Tenant Application

There is also the option to specify more than one option, for instance a setting applies to User | Tenant.

What does it mean in terms of editing the data?

If I provide an UI to allow admin to edit a SettingDefinition on the Web App. For instance, a SettingDefinition that is scoped to Tenant only. Then, each admin would be changing the value that belongs to his/her own tenant?

If a SettingDefinition is scoped to App and Tenant. When a Tenant Admin changes the value, will that affect also the App version of that Setting?

I am a big confused on how to use the Settings.

I appreciate your assistance.

Thanks

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

Answer

Thank you :-)

Hi, In one of the .cshtml views I have, I need to display a string using @L(). However, this string is parameterized.

How can I get the value for that setting key in an asp.net-way?

I tried the code below, but since I cannot "await" on the function, I get back name of class "Task...".

@{
    var maxPictureSizeName = GetMaxPictureSizeName();
}

@functions {
    private async Task<string> GetMaxPictureSizeName()
    {
        return await SettingManager.(DrcSettings.Imagining.MaxProfilePictureSizeName);
    }
}

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 :)

Showing 371 to 380 of 635 entries