Hi I have created an issue on git for this report
https://github.com/aspnetzero/aspnet-zero-core/issues/3702
Hello,
I tried to use ASP.NET Zero Power Tools Master-Detail function but I encountered some problems.
The test consisted in the creation of a "Customer" parent entity and a "CustomerContact" child entity, in particular, the child entity was generated by activating the "Create Non-Modal CRUD Page" flag while the parent entity was generated using the "Create Master-Detail Page" flag.
Once I finished the procedure with ASP.NET Zero Power Tools I noticed the following errors:
1) In all components created where this element is used import {LazyLoadEvent} from "primeng/public_api"; the error is detected in the import path.
The error seems to be resolved by modifying as follows: import {LazyLoadEvent} from "primeng/api/public_api"; but I don't know if it is the correct solution.
2) A field is missing in the "masterDetailChild_Customer_customerContacts" component in the getCustomerContactsToExcel method
src/app/main/modules/customerContacts/masterDetailChild_Customer_customerContacts.component.ts: 95: 14 - error TS2554: Expected 5 arguments, but got 4.
.getCustomerContactsToExcel (this.filterText, this.phoneFilter, this.emailFilter, this.customerId)
Checking the signature of the method requires the "customerCodeFilter" field which, however, is not present in the component
3) In the main module "src/app/main/main.module.ts" some components are included but they have not been generated
In particular:
src/app/main/main.module.ts: 10: 73 - error TS2307: Cannot find module './modules/customerContacts/masterDetailChild_Customer_view-customerContact.component' or its corresponding type declarations.
import {MasterDetailChild_Customer_ViewCustomerContactComponent} from './modules/customerContacts/masterDetailChild_Customer_view-customerContact.component';
src/app/main/main.module.ts: 11: 81 - error TS2307: Cannot find module './modules/customerContacts/masterDetailChild_Customer_create-or-edit-customerContact.component' or its corresponding type declarations.
import {MasterDetailChild_Customer_CreateOrEditCustomerContactComponent} from './modules/customerContacts/masterDetailChild_Customer_create-or-edit-customerContact.component';
you can verify?
In addition to this I wanted to ask how to use different versions of ASP.NET Zero Power Tools to manage old and new projects.
thanks
I use AspNetZero 8.1.0 (Asp.net Core & Angular)
I activated login via Azure AD as reported in OpenId Connect Login
How can I acitvate the same feature on Mobile version (Xamarin Form)?
Thanks
Hello,
is it possible to extend the power tool to generate code for the mobile project?
By adding for example a flag that will allow the choice as it happens for the web UI.
thank you