Open Closed

Switch Tenant Custom API #2471


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:NA
  • Steps to reproduce the issue:"NA

Hi Team, Identity server --> On switch tenant --> search we have to call our custom api. How i can extend the functionality.


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The source code here https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Pages/Abp/MultiTenancy

  • User Avatar
    0
    shobhit created

    Hello Maliming, i am assuming i have to create new class to override TenantSwitchModalModel --> OnPostAsync() method. Do i have to override in Identity project or application project. i tried to override in identity project but it has compilation error:

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    i tried to override in identity project but it has compilation error:

    What's the error?

  • User Avatar
    0
    shobhit created

    Hello Maliming, No worries. It is solved. Thanks for your help.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11