Hi,
In HostSettingsAppService I am doing the code update the setting values to the database.
In my database there is value of my GoogleAPIKey
While I am using this code for the update value App.GeneralSetting.GoogleAPIKey await SettingManager.ChangeSettingForApplicationAsync("App.GeneralSetting.GoogleAPIKey", settings.GoogleAPIKey);
then I am getiing this error please give me solution asap.
Abp.AbpException: There is no setting defined with name: App.GeneralSetting.GoogleAPIKey
at Abp.Configuration.SettingDefinitionManager.GetSettingDefinition(String name) in D:\Github\aspnetboilerplate\src\Abp\Configuration\SettingDefinitionManager.cs:line 48
at Abp.Configuration.SettingManager.InsertOrUpdateOrDeleteSettingValueAsync(String name, String value, Nullable`1 tenantId, Nullable`1 userId) in D:\Github\aspnetboilerplate\src\Abp\Configuration\SettingManager.cs:line 320
at Abp.Configuration.SettingManager.ChangeSettingForApplicationAsync(String name, String value) in D:\Github\aspnetboilerplate\src\Abp\Configuration\SettingManager.cs:line 218
at Abp.Threading.InternalAsyncHelper.AwaitTaskWithPostActionAndFinally(Task actualReturnValue, Func`1 postAction, Action`1 finalAction) in D:\Github\aspnetboilerplate\src\Abp\Threading\InternalAsyncHelper.cs:line 35
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
Is it possible that new tenats after creation have admin role disabled.
When I run power tool I have menu position drop down. By default there are two options, Root and Administartion. I asume this two values are pulled from menu structure. Where in code I can change and add aditional options so that when I run tool again I have other options to choose from.
Hi,
We create the role on HOST but we need to use at Tenants side so is there any way or some directions. So, Tenants admin will see only roles assigned by the Host. Tenants admin can create new roles but only from inherited permissions.
@maliming problem has been solved Thanks !!
Hi
At the time of creating new entiry "Id" column auto created.
What if say for user table -> i want to keep "UserId" fileld then how to possible to do?
There is root position -> where root & administrator option is coming.
Can you please guide us from where we can add new options into that list?
I double click on refresh.bat file and seems its not updating the Service-Proxies.ts file. When I open that refresh.bat file the path is "..\node_modules.bin\nswag" but when I find nswag on this path the file or some exe are not in node_modules.bin . Is this any application to add this file in folder or somthing else?