Are there any predefined user available fields in the ANZ header or footer? I have a situation where I need to show which warehouse a user is working for a tenant and I would like to show the warehouse code or name without changing the default framework.
3 Answer(s)
-
0
Hi @mdframe
Currently there is no such field but you can extend User entity as explained here https://docs.aspnetzero.com/documents/zero/latest/Extending-Existing-Entities
-
0
I don't see how extending the user entity provides me the ability to have new display fields in the header or footer. Since I have been unable to find documentation on this please explain more as I am very intrigued in how the user entity controls the header and footer areas.
-
0
Hi @mdframe
Maybe I understand you wrongly.
I need to show which warehouse a user is working for a tenant
I thought, you can store this information on AbpUsers table by extending the User entity. Then, of course, you need to modify the cshtml or html file (according to template you are using) and show this information on the client side by writing the necessary code.
If you are looking for a pre-built feature to do that, it is not possible.