Open Closed

How to Connect Two Modules Data Source and display a field coming from a custom module in tenant table in SaaS module? #7885


User avatar
0
AbdulrahmanMZ created
  • ABP Framework version: v8.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I want to connect two modules' data sources in order to display a field coming from a custom module named for example 'ProductModule' in the Saas module Data Table in the same way 'edition' field or 'Tenant activation state' field displayed. as per the following images:

and the other important question, is it necessary to replace the SaaS package with the source code to make these customizations into tenant?


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

    hi

    You can use integration services to query entity info from different modules.

    https://abp.io/docs/latest/framework/api-development/integration-services

    is it necessary to replace the SaaS package with the source code to make these customizations into tenant?

    No, You can override the service and component from the saas module.

    https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-guide

  • User Avatar
    0
    AbdulrahmanMZ created

    Thanks,

    could you pinpoint an example from within the ABP framework or a 3rd party implementation of integration service between two modules?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There is no example now, you can test it by following the document. It's easy.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    If your application is monolithic and uses the same DBContext. You can refer to https://github.com/abpframework/abp-samples/tree/master/MultipleDbContext

Made with ❤️ on ABP v9.0.0-preview Updated on September 18, 2024, 12:46