Activities of "andmattia"

  • ABP Framework version: v5.3.1
  • UI type: Angular

We have a module created via suite and now we have crate our nuget pack and NPM to reuse it in another module.

I try to find a way to solve a nightmare related to export module/proxy. All works fine until I need to call a proxy from module B that it came from module A.

I look into a SAAS module and I see that proxy folder is not inside SRC for angular but it was at root level

saas |--proxy |--src

I try to reproduce the same structure but via abp generate-proxy is not possibile... or don't find a way to do that. Looking inside the source I see that ad a ng-package.json to export proxy from module. I do the same but I still get the error module not exported.

My folder structure is ModuleA |--src |-----lib |--------proxy -> In this folder I put ng-package.json

So now I have my build module with proxy epoxrted... but it still no working.

Looking into the generated code I see that SAAS has @volo/abp.ng.saas/proxy into proxy folder but in my module I have @moduleA/src/lib/proxy. I search the documentation where find a way to create a module and NPM package but I don't find anything.

In all module angualr exists only the project foleder and not the entire project (I see that it is refere to a file tsconfig.base.json but where is this file?)

Ok a prepare a full solution and send it

Has you try to build for production?

If you debug it it works fine but is in production mode that customization not work

I send an email with code

HI maliming

we are focus in a project roll out . I prepare a zip folder next week.

Thanks for your patience

Hi

I use the guide suply from my prev ticket.

I don't do anything in bundling, just copy ang paste the lepton theme css on custom folder change to apply my style

I've

follow the guide suggested on my prev ticket How-to-customize-IdentityServer-login-page and it'works fine on debug but when I move to production env the lepton theme ignore my csutom folder during buduling use only global.css

Is it normal?

2022-04-28 12:27:33.346 +02:00 [INF] Bundling __bundles/Lepton.Global.EBEE615D31F6CB72FC61AE315D1127D4.css (13 files)
2022-04-28 12:27:33.421 +02:00 [INF]   > Minified /libs/abp/core/abp.css (1331 bytes -> 868 bytes)
2022-04-28 12:27:33.464 +02:00 [INF]   > Minified /libs/@fortawesome/fontawesome-free/css/all.css (73577 bytes -> 53572 bytes)
2022-04-28 12:27:33.475 +02:00 [INF]   > Minified /libs/@fortawesome/fontawesome-free/css/v4-shims.css (41312 bytes -> 33344 bytes)
2022-04-28 12:27:33.566 +02:00 [INF]   > Minified /libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css (54850 bytes -> 43189 bytes)
2022-04-28 12:27:33.573 +02:00 [INF]   > Minified /libs/datatables.net-bs5/css/dataTables.bootstrap5.css (9115 bytes -> 8152 bytes)
2022-04-28 12:27:33.574 +02:00 [INF]   > Minified /libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css (464 bytes -> 379 bytes)
2022-04-28 12:27:33.658 +02:00 [INF]   > Minified /global-styles.css (26 bytes -> 0 bytes)
2022-04-28 12:27:33.669 +02:00 [INF] Bundled __bundles/Lepton.Global.EBEE615D31F6CB72FC61AE315D1127D4.css (664474 bytes)

After login I still see the them6 (because is purple on left)

Ok but this il the flow from ABP.IO to ANZ but user start process from ANZ page in SAAS enviroment and need to be redirect to a auth server. The target auth server is in multi tenant enviroment. The correct flow I think is the first on the picture below but at the moment is not possibile. A mitigation of this could be setting tenant automaticly (es using {TENANCY_NAME} on config)

Hi @gterdem

this schema works on multitenant side?

My team try to use it in SAAS app but they are not able to pagging tenant to Identity? we need to use special config to passing tenant on login process?

Hi @maliming

thanks for the support.

I try to remove with DisableValidationAttribute and it works!

Showing 101 to 110 of 136 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13