Hello,
I've created a new section in the configuration, so I've added a new CustomConfigProvider to the core module :
Configuration.CustomConfigProviders.Add(new MenuConfigProvider());
I've checked that is correctly added to the configuration.
The think is that I don't know how to consume it in the angular application.
Thanks
5 Answer(s)
-
0
Hi,
You should be able to access it using
abp.customon the Angular side. Before writing any code, you can write abp.custom to browser console and see it your custom config is accessible.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
-
0
Hi,
You can modify
typings.d.tsas below;declare namespace abp { namespace ui { function setBusy(elm?: any, text?: any, optionsOrPromise?: any): void; } namespace custom { } }Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Is not working, still the same problem. I made it work with a cast (<any>abp).custom. but I'd like to fix it
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
Could you create an issue on https://github.com/aspnetzero/aspnet-zero-core/issues ? We will fix it.
Thanks,
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)
