0
DanielNikolic created
Product version: 10.3.0 Product type: Angular Product framework type: .net core ABP Framework version: 6.3.1.0
When I run the rad tool to add a component, the backend code is generated correctly, but in the frontend only a template class is added and not filled in. I dont' understand why?
// import {NgModule} from '@angular/core';
// import {AppSharedModule} from '@app/shared/app-shared.module';
// import {AdminSharedModule} from '@app/admin/shared/admin-shared.module';
// import {{{Master_Detail_Child_Prefix_Here}}UnitOfMeasuresComponent} from './{{master_Detail_Child_Prefix_Here}}unitOfMeasures.component';
// import {{{Master_Detail_Child_Prefix_Here}}CreateOrEditUnitOfMeasureComponent} from './{{master_Detail_Child_Prefix_Here}}create-or-edit-unitOfMeasure.component';
// import {{{Master_Detail_Child_Prefix_Here}}ViewUnitOfMeasureComponent} from './{{master_Detail_Child_Prefix_Here}}view-unitOfMeasure.component';
// {{Import_Child_Module_Here}}
// @NgModule({
// declarations: [
// {{Master_Detail_Child_Prefix_Here}}UnitOfMeasuresComponent,
// {{Master_Detail_Child_Prefix_Here}}CreateOrEditUnitOfMeasureComponent,
// {{Master_Detail_Child_Prefix_Here}}ViewUnitOfMeasureComponent,
// ],
// imports: [AppSharedModule , AdminSharedModule {{Use_Import_Child_Module_Here}}],
// })
// export class {{Master_Detail_Child_Prefix_Here}}UnitOfMeasureModule {
// }
Do I have to execute some extra steps I'm missing or am I doing something wrong?
3 Answer(s)
-
0
Hi @DanielNikolic
Could you share your entity json file ? You can find it under "aspnet-core\AspNetZeroRadTool" folder.
Thanks,
-
0
This is the file
\AspNetZeroRadTool\UnitOfMeasures.UnitOfMeasure.json
{ "IsRegenerate": true, "MenuPosition": "main", "RelativeNamespace": "UnitOfMeasures", "EntityName": "UnitOfMeasure", "EntityNamePlural": "UnitOfMeasures", "TableName": "UnitOfMeasures", "PrimaryKeyType": "Guid", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": false, "PagePermission": { "Host": false, "Tenant": true }, "Properties": [ { "Name": "Description", "Type": "string", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0, "MaximumValue": 0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } }, { "Name": "UnitType", "Type": "string", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0, "MaximumValue": 0 }, "Required": true, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } } ], "NavigationProperties": [], "EnumDefinitions": [] }
-
0
Hi @DanielNikolic I could not reproduce the problem. Can you please clean aspnet-zero-core\aspnet-core\AspNetZeroRadTool\FileTemplates folder and try it.