- ABP Framework version: v8.0.2
- UI Type: Blazor WASM
- Database System: EF Core (PostgreSQL)
- Exception message and full stack trace:
- Steps to reproduce the issue:
Hi Support Teams,
I want to customize the user interface of the User screen as follows:
- Add a new tab when creating or editing a User. How can I add new fields for the User in the new tab? For example, in the new tab, I want to include additional information for the User such as Code, Address, Manager...
- Change the interface to be in the form of an EditForm like this image instead of opening a Popup.
10 Answer(s)
-
0
Hi,
I suggest you create a new entity action with a component instead of extending the Edit UI.
Because you need to copy a lot of code to extend the Edit UI.
To a new entity action:
https://docs.abp.io/en/abp/latest/UI/Blazor/Entity-Action-Extensions
[ExposeServices(typeof(UserManagement))] [Dependency(ReplaceServices = true)] public class CustomizedUserManagement : UserManagement { protected override async ValueTask SetEntityActionsAsync() { await base.SetEntityActionsAsync(); var advancedEditAction = new EntityAction() { Text = "Advanced edit", Clicked = (data) => { //TODO: you can navigate to a new component page here. } }; EntityActions.Get<UserManagement>().Add(advancedEditAction); } }
-
0
-
0
You need to configure the
AutoEventSelectors
:https://docs.abp.io/en/abp/latest/Distributed-Event-Bus#event-transfer-object
-
0
-
0
Hi,
Where am I missing configuration? I'm working on Module Template.
Have you added the module dependencies?
[Dependof(typeof(DMSDomainModule))]
-
0
-
0
Hi,
Could you share a test project with me? I will check it. shiwei.liang@volosoft.com thanks.
-
0
Hi,
Could you share a test project with me? I will check it. shiwei.liang@volosoft.com thanks.
Hi,
I have sent you an email, please check and assist me. Thanks.
-
0
-
0
It worked. Thank you very much for your help 🤗