Open Closed

Customizing pre-built pages #665


User avatar
0
arjun created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.0.0
  • UI type: Blazor
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi, I am playing with Blazor UI and I am wondering how do I edit pre built pages. Take an example of tenants/edit page I want to add more fields there instead of just Name and Edition. I am not sure how to ovveride Tenant entity but that is not an issue since I will have another entity to support additional fields. Only the issue is how to customize the built in razor pages. Can I generate stub pages source code and work from there?

Thanks


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    you can add extra properties to an existing object. see https://docs.abp.io/en/abp/latest/Object-Extensions

  • User Avatar
    0
    arjun created

    Hi Alper, Thanks for the reply. I was thinking that I could workaround that part. But here, pre built pages(UI) I need to change. I wish you could provide those pages with sources(blazor templates) at least for Team licencees love :) And thanks a lot for this amazing product, zero was awesome, this is very close to perfect. Regards

  • User Avatar
    0
    alper created
    Support Team Director

    modifying the current source-code should be last option because you'll loose updating it from NuGet way.

    These docs explain how to customize the existing Blazor pages:

    https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface

  • User Avatar
    0
    arjun created

    Hi Alper, Thanks again for getting back. I do not read articles when it does not mention blazor in my case but may be razor pages includes it. I will close this ticket for now. In future I am sure, overriding issue can be addressed by block quote with some keywords. Those guides will definately help me.

    Have a great day.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09