You can override these classes and apply the changes.
https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components
namespace Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.Navigation class MainSiderbar namespace Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme.Components.ApplicationLayout.MainHeader class MainHeaderToolbarUserMenu
where I need to add this Mainsidebar
Hi,
You can't remove it, it's a part of ASP.NET Core Identity, but you can hide it.
How can I do this
Hi
If I want to remove this phone number field then what I need to do please let me know
hi
This seems a known problem. it was fixed in 5.0
https://github.com/abpframework/abp/issues/8851 https://github.com/abpframework/abp/commit/dc9f278c11ed5a017a878cbcd7ce9222ab70ac4e
Thanks for the response but the problem is we can't update the version now so can u please suggest what I can do in this case.
Hi,
Ok but as you mentioned above u can add this in domain project
Because I don't know what kind of project are you using and you want use it anywhere.
If I add this in domain then it will work right?
If you are building a microservice solution, probably not, because every service has a domain project. If you are building a monolithic solution, it will work.
Creating a new project is a better way, you can use it in any project.
I am using ABP io with blazor and the version is 4.4.3
Hi,
You can create a new project named
YourProjectName.Sms.Amazon
, just like: https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.Sms.AliyunAnd you can use it anywhere via project reference.
Ok but as you mentioned above u can add this in domain project so If I add this in domain then it will work right?
Hi,
you can put the class in the domain project,
where we need to call this
I didn't get it, can you explain it in detail? when you need to send a message you can inject an
ISmsSender
interface to use it.
I mean do we need to call this Amazonsmssender in anywhere in a project to run this or directly it will work.
Hi,
Do you mean using Amazon SMS service https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html?
Actually, you can use any SMS service you want.
For example:
[Dependency(ReplaceServices = true)] public class AmazonSmsSender : ISmsSender, ITransientDependency { public virtual async Task SendAsync(SmsMessage smsMessage) { //Using amazon SMS service to send a message } }
ok thanks. Where we need to create this Amazonsmssender and where we need to call this. Please let me know.
Hi @safi, sorry for the late response. Currently, there is a problem to check menu items according to role names (because of the ordering problem, the menu is drawn once and not updated according to auth changes properly).
We aim to fix it in the next version. There is an open Github issue about it.Btw, your credit is refunded.
In meantime, maybe you can consider using a permission check instead of a role name check, by using the
RequirePermission("PermissionName")
extension method.Example:
context.Menu.AddItem( new ApplicationMenuItem("MyProject.Crm", l["Menu:CRM"]) .AddItem(new ApplicationMenuItem( name: "MyProject.Crm.Customers", displayName: l["Menu:Customers"], url: "/crm/customers") .RequirePermissions("MyProject.Crm.Customers") //require permission ); );
No it's not working so can we connect on zoom for this?
Hi
I created an account on twillio but it's sending SMS on a registered mobile number only. so can we use the amazon service for this? If yes then how we can do this.
I am expecting a reply fast because it's very urgent for us.
Thanks,