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
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);
}
}
Hello, In my app I am caching locally some reference data using localForage.
Ive implement that as a JS service where Angular controllers use it. When data is changed, different controllers fire different events that got handled by the service to refresh data and bring in to cache new updated data from server.
Now, all this happens on the same machine. What if, I want also to refresh data stored in cache on other machines? I need a way from the server-side that when an entity changes, to send a signalR notification so that other cllients could refresh their data.
Can you guide me to a sample code on how to do so with Abp?
Thanks
Hello, Does Abp provide any handling for concurrency issues?
In EF one can add a a property of type byte[] with an attribute of TimeStamp, then EF will handle that on itself. Is Abp using this technique?
Thanks
Hi, Under Common/Scripts/LocalStroage, you define 2 javascript objects, one using pure localStorage and the other uses localForage.
When using app.localStorage, which one is being used? Is it the localStorage or localForage?
Thanks
Hello, In my AppService or DomainService methods, I call some private methods, some common code used in multiple functions.
Do I need to add the attribute [UnitOfWork] also to those private methods? Or they will inherit it from the calling method?
Thanks
Hi I noticed the upload profile pic is using normal MVC controller while rest of appl using AppServices and Web API. Is there a preference or limitation to not use AppServices?
Thanks
Hello, Is it possible to strip down the web app and remove all screens except for having a simple form (I added) to allow users to access from mobile?
In other words, I need a light version of the web app just for mobile users.
Can you guide me on how to do so with this app?
Thanks
Hello, I need a way to generate around 3000 GUIDs so that the user of my app would generate some QR Codes based on those GUIDS. Then later, I can import some data coming from an Excel sheet, each record with a GUID that was generated before and mapped to a QR Code.
So in my case, I need to have primary key for an entity as Int while adding a property of type Guid (Coming from backlog of records and later on when new records are created through the system).
Does the Abp Framework support this scenario? Does it offer any tools for GUID generation with uniqueness, etc.
If not, what's the alternative for my case? I appreciate if you can help.
Thanks
Hello, How to use Abp Permissions framework on columns? I need to return specific columns per permission.
Thanks