I am currently facing an issue with my Angular application where the UI loads without CSS, despite having the necessary CSS files in place. Additionally, after generating a new model using Power Tool, Angular throws an error.
D:\AspNetZero Purchased\CoreSync\angular>ng serve
Component HMR has been enabled.
If you encounter application reload issues, you can manually reload the page to bypass HMR and/or disable this feature with the --no-hmr command line option.
Please consider reporting any issues you encounter here: https://github.com/angular/angular-cli/issues
Application bundle generation failed. [22.494 seconds]
▲ [WARNING] NG8103: The *ngIf directive was used in the template, but neither the NgIf directive nor the CommonModule was imported. Use Angular's built-in control flow @if or make sure that either the NgIf directive or the CommonModule is included in the @Component.imports array of this component. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.html:44:30:
44 │ <div *ngIf="item.author.isActive" class="t...
╵ ~~~~
Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17:
10 │ templateUrl: './view-author-modal.component.html',
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
▲ [WARNING] NG8103: The *ngIf directive was used in the template, but neither the NgIf directive nor the CommonModule was imported. Use Angular's built-in control flow @if or make sure that either the NgIf directive or the CommonModule is included in the @Component.imports array of this component. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.html:47:30:
47 │ <div *ngIf="!item.author.isActive" class="...
╵ ~~~~
Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17:
10 │ templateUrl: './view-author-modal.component.html',
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2724: '"@shared/service-proxies/service-proxies"' has no exported member named 'AuthorsServiceProxy'. Did you mean 'AuditLogServiceProxy'? [plugin angular-compiler]
src/app/main/authorService/authors/author-user-lookup-table-modal.component.ts:3:9:
3 │ import { AuthorsServiceProxy, AuthorUserLookupTableDto } from '@sha...
╵ ~~~~~~~~~~~~~~~~~~~
'AuditLogServiceProxy' is declared here.
src/shared/service-proxies/service-proxies.ts:845:13:
845 │ export class AuditLogServiceProxy {
╵ ~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'AuthorUserLookupTableDto'. [plugin angular-compiler]
src/app/main/authorService/authors/author-user-lookup-table-modal.component.ts:3:30:
3 │ ...uthorsServiceProxy, AuthorUserLookupTableDto } from '@shared/ser...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS-992003: No suitable injection token for parameter '_authorsServiceProxy' of class 'AuthorUserLookupTableModalComponent'. Consider using the @Inject decorator to specify an injection token. [plugin angular-compiler]
src/app/main/authorService/authors/author-user-lookup-table-modal.component.ts:48:16:
48 │ private _authorsServiceProxy: AuthorsServiceProxy
╵ ~~~~~~~~~~~~~~~~~~~~
This type does not have a value, so it cannot be used as injection token.
src/app/main/authorService/authors/author-user-lookup-table-modal.component.ts:48:38:
48 │ private _authorsServiceProxy: AuthorsServiceProxy
╵ ~~~~~~~~~~~~~~~~~~~
X [ERROR] TS-996002: 'AuthorsComponent' does not appear to be an NgModule class. [plugin angular-compiler]
src/app/main/authorService/authors/author.module.ts:16:8:
16 │ AuthorsComponent,
╵ ~~~~~~~~~~~~~~~~
Is it missing an @NgModule annotation?
src/app/main/authorService/authors/authors.component.ts:67:13:
67 │ export class AuthorsComponent extends AppComponentBase {
╵ ~~~~~~~~~~~~~~~~
X [ERROR] TS-996002: 'CreateOrEditAuthorModalComponent' does not appear to be an NgModule class. [plugin angular-compiler]
src/app/main/authorService/authors/author.module.ts:17:8:
17 │ CreateOrEditAuthorModalComponent,
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is it missing an @NgModule annotation?
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:49:13:
49 │ export class CreateOrEditAuthorModalComponent extends AppComponent...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS-996002: 'AuthorUserLookupTableModalComponent' does not appear to be an NgModule class. [plugin angular-compiler]
src/app/main/authorService/authors/author.module.ts:20:8:
20 │ AuthorUserLookupTableModalComponent,
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is it missing an @NgModule annotation?
src/app/main/authorService/authors/author-user-lookup-table-modal.component.ts:32:13:
32 │ export class AuthorUserLookupTableModalComponent extends AppCompon...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2724: '"@shared/service-proxies/service-proxies"' has no exported member named 'AuthorsServiceProxy'. Did you mean 'AuditLogServiceProxy'? [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:4:9:
4 │ import { AuthorsServiceProxy, AuthorDto } from '@shared/service-pro...
╵ ~~~~~~~~~~~~~~~~~~~
'AuditLogServiceProxy' is declared here.
src/shared/service-proxies/service-proxies.ts:845:13:
845 │ export class AuditLogServiceProxy {
╵ ~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'AuthorDto'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:4:30:
4 │ import { AuthorsServiceProxy, AuthorDto } from '@shared/service-pro...
╵ ~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:34:9:
34 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:35:9:
35 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe';
╵ ~~~~~~~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:36:9:
36 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:37:9:
37 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe';
╵ ~~~~~~~~~~~~~~~
X [ERROR] TS-992003: No suitable injection token for parameter '_authorsServiceProxy' of class 'AuthorsComponent'. Consider using the @Inject decorator to specify an injection token. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:96:16:
96 │ private _authorsServiceProxy: AuthorsServiceProxy,
╵ ~~~~~~~~~~~~~~~~~~~~
This type does not have a value, so it cannot be used as injection token.
src/app/main/authorService/authors/authors.component.ts:96:38:
96 │ private _authorsServiceProxy: AuthorsServiceProxy,
╵ ~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2724: '"@shared/service-proxies/service-proxies"' has no exported member named 'AuthorsServiceProxy'. Did you mean 'AuditLogServiceProxy'? [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:5:4:
5 │ AuthorsServiceProxy,
╵ ~~~~~~~~~~~~~~~~~~~
'AuditLogServiceProxy' is declared here.
src/shared/service-proxies/service-proxies.ts:845:13:
845 │ export class AuditLogServiceProxy {
╵ ~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'CreateOrEditAuthorDto'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:6:4:
6 │ CreateOrEditAuthorDto,
╵ ~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'AuthorOrganizationUnitLookupTableDto'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:7:4:
7 │ AuthorOrganizationUnitLookupTableDto,
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:28:9:
28 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:29:9:
29 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
X [ERROR] TS-992003: No suitable injection token for parameter '_authorsServiceProxy' of class 'CreateOrEditAuthorModalComponent'. Consider using the @Inject decorator to specify an injection token. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:75:16:
75 │ private _authorsServiceProxy: AuthorsServiceProxy,
╵ ~~~~~~~~~~~~~~~~~~~~
This type does not have a value, so it cannot be used as injection token.
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:75:38:
75 │ private _authorsServiceProxy: AuthorsServiceProxy,
╵ ~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'GetAuthorForViewDto'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:4:9:
4 │ import { GetAuthorForViewDto, AuthorDto } from '@shared/service-pro...
╵ ~~~~~~~~~~~~~~~~~~~
X [ERROR] TS2305: Module '"@shared/service-proxies/service-proxies"' has no exported member 'AuthorDto'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:4:30:
4 │ import { GetAuthorForViewDto, AuthorDto } from '@shared/service-pro...
╵ ~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:6:9:
6 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe';
4 │ import { GetAuthorForViewDto, AuthorDto } from '@shared/service-pro...
╵ ~~~~~~~~~
X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:6:9:
6 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe';
╵ ~~~~~~~~~
8 Answer(s)
-
0
Hi @stanley5389
After creating an entity in Power Tools, you need to generate proxy classes with the
NSwagtool. To do this, simply run the following command in your Angular project's terminal while your*Web.Hostproject is running.npm run nswagoryarn nswagorcd nswag/ && refresh.batAfter generating, you can start your project with the
npm run startcommand.NgIfimport error is also added as a standalone import in a component, but it is a warning that the component is not used in html. You can remove theNgIfimport from the relevant component if you want.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Got it some more new errors
src/app/main/authorService/authors/view-author-modal.component.html:44:30: 44 │ <div *ngIf="item.author.isActive" class="t... ╵ ~~~~
Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17: 10 │ templateUrl: './view-author-modal.component.html', ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~▲ [WARNING] NG8103: The
*ngIfdirective was used in the template, but neither theNgIfdirective nor theCommonModulewas imported. Use Angular's built-in control flow @if or make sure that either theNgIfdirective or theCommonModuleis included in the@Component.importsarray of this component. [plugin angular-compiler]src/app/main/authorService/authors/view-author-modal.component.html:47:30: 47 │ <div *ngIf="!item.author.isActive" class="... ╵ ~~~~Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17: 10 │ templateUrl: './view-author-modal.component.html', ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:34:9: 34 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:35:9: 35 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:36:9: 36 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:37:9: 37 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:28:9: 28 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:29:9: 29 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:6:9: 6 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:7:9: 7 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~Watch mode enabled. Watching for file changes...
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
FYI
D:\AspNetZero Purchased\CoreSync\angular>yarn nswag yarn run v1.22.22 $ cd nswag/ && refresh.bat
D:\AspNetZero Purchased\CoreSync\angular\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core Net90, toolchain v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: D:\AspNetZero Purchased\CoreSync\angular\node_modules\nswag\bin\binaries\Net90
Executing file 'D:\AspNetZero Purchased\CoreSync\angular\nswag\service.config.nswag' with variables ''... Done.
Duration: 00:00:01.3977509 Done in 1.87s.
D:\AspNetZero Purchased\CoreSync\angular>cd nswag
D:\AspNetZero Purchased\CoreSync\angular\nswag>refresh.bat
D:\AspNetZero Purchased\CoreSync\angular\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core Net90, toolchain v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: D:\AspNetZero Purchased\CoreSync\angular\node_modules\nswag\bin\binaries\Net90
Executing file 'D:\AspNetZero Purchased\CoreSync\angular\nswag\service.config.nswag' with variables ''... Done.
Duration: 00:00:01.3748022
D:\AspNetZero Purchased\CoreSync\angular\nswag>cd..
D:\AspNetZero Purchased\CoreSync\angular>npm run start
[email protected] start ng serve --host 0.0.0.0 --port 4200 --no-hmr
Warning: This is a simple server for use in testing or debugging Angular applications locally. It hasn't been reviewed for security issues.
Binding this server to an open connection can result in compromising your application or computer. Using a different host than the one passed to the "--host" flag might result in websocket connection issues. You might need to use "--disable-host-check" if that's the case.
Application bundle generation failed. [21.856 seconds]
▲ [WARNING] NG8103: The
*ngIfdirective was used in the template, but neither theNgIfdirective nor theCommonModulewas imported. Use Angular's built-in control flow @if or make sure that either theNgIfdirective or theCommonModuleis included in the@Component.importsarray of this component. [plugin angular-compiler]src/app/main/authorService/authors/view-author-modal.component.html:44:30: 44 │ <div *ngIf="item.author.isActive" class="t... ╵ ~~~~Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17: 10 │ templateUrl: './view-author-modal.component.html', ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~▲ [WARNING] NG8103: The
*ngIfdirective was used in the template, but neither theNgIfdirective nor theCommonModulewas imported. Use Angular's built-in control flow @if or make sure that either theNgIfdirective or theCommonModuleis included in the@Component.importsarray of this component. [plugin angular-compiler]src/app/main/authorService/authors/view-author-modal.component.html:47:30: 47 │ <div *ngIf="!item.author.isActive" class="... ╵ ~~~~Error occurs in the template of component ViewAuthorModalComponent.
src/app/main/authorService/authors/view-author-modal.component.ts:10:17: 10 │ templateUrl: './view-author-modal.component.html', ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:34:9: 34 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:35:9: 35 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:36:9: 36 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/authors.component.ts:37:9: 37 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:28:9: 28 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'AbpDateTimePickerComponent'. [plugin angular-compiler]
src/app/main/authorService/authors/create-or-edit-author-modal.component.ts:29:9: 29 │ import { AbpDateTimePickerComponent } from '@app/shared/common/tim... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:6:9: 6 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~X [ERROR] TS2300: Duplicate identifier 'LuxonFormatPipe'. [plugin angular-compiler]
src/app/main/authorService/authors/view-author-modal.component.ts:7:9: 7 │ import { LuxonFormatPipe } from '@shared/utils/luxon-format.pipe'; ╵ ~~~~~~~~~~~~~~~Watch mode enabled. Watching for file changes...
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @stanley5389
Did you create the Author entity using the Power Tools utility in the latest version, or is it an entity you created earlier and then migrated your ASP.NET Zero project to the latest version? In such cases, issues related to standalone components may occur.
Multiple standalone components are being added within the Author components. To resolve this issue, you can remove the redundant standalone components. If this issue occurs while generating the entity using the Power Tools utility, could you please share the Author.json file located under the AspNetZeroRadTool directory in your project (with any sensitive fields hidden)?
Thank you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I have used the latest version 4.6.3
{ "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "AuthorService", "EntityName": "Author", "EntityNamePlural": "Authors", "TableName": "Authors", "PrimaryKeyType": "Guid", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "CreateExcelImport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "GenerateOverridableEntity": false, "GenerateUnitTest": false, "GenerateUiTest": false, "GenerateMobile": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Name", "Type": "string", "MaxLength": 50, "MinLength": 5, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Biography", "Type": "string", "MaxLength": 100, "MinLength": 10, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfBirth", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfDeath", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "IsActive", "Type": "bool", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Photo", "Type": "file", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [ { "Namespace": "CoreSync.Authorization.Users", "ForeignEntityName": "User", "ForeignEntityNamePlural": "Users", "IdType": "long", "IsNullable": true, "PropertyName": "UserId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "LookupTable", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "Name" ] }, "IsMultiLingual": false }, { "Namespace": "Abp.Organizations", "ForeignEntityName": "OrganizationUnit", "ForeignEntityNamePlural": "OrganizationUnits", "IdType": "long", "IsNullable": true, "PropertyName": "OrganizationUnitId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "Dropdown", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "DisplayName" ] }, "IsMultiLingual": false } ], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I have used the latest version 4.6.3
{ "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "AuthorService", "EntityName": "Author", "EntityNamePlural": "Authors", "TableName": "Authors", "PrimaryKeyType": "Guid", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "CreateExcelImport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "GenerateOverridableEntity": false, "GenerateUnitTest": false, "GenerateUiTest": false, "GenerateMobile": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Name", "Type": "string", "MaxLength": 50, "MinLength": 5, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Biography", "Type": "string", "MaxLength": 100, "MinLength": 10, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfBirth", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfDeath", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "IsActive", "Type": "bool", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Photo", "Type": "file", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [ { "Namespace": "CoreSync.Authorization.Users", "ForeignEntityName": "User", "ForeignEntityNamePlural": "Users", "IdType": "long", "IsNullable": true, "PropertyName": "UserId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "LookupTable", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "Name" ] }, "IsMultiLingual": false }, { "Namespace": "Abp.Organizations", "ForeignEntityName": "OrganizationUnit", "ForeignEntityNamePlural": "OrganizationUnits", "IdType": "long", "IsNullable": true, "PropertyName": "OrganizationUnitId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "Dropdown", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "DisplayName" ] }, "IsMultiLingual": false } ], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I have used the latest version 4.6.3
{ "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "AuthorService", "EntityName": "Author", "EntityNamePlural": "Authors", "TableName": "Authors", "PrimaryKeyType": "Guid", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "CreateExcelImport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "GenerateOverridableEntity": false, "GenerateUnitTest": false, "GenerateUiTest": false, "GenerateMobile": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Name", "Type": "string", "MaxLength": 50, "MinLength": 5, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Biography", "Type": "string", "MaxLength": 100, "MinLength": 10, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfBirth", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DateOfDeath", "Type": "DateTime", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "IsActive", "Type": "bool", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Photo", "Type": "file", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": true, "List": true, "ListMaui": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [ { "Namespace": "CoreSync.Authorization.Users", "ForeignEntityName": "User", "ForeignEntityNamePlural": "Users", "IdType": "long", "IsNullable": true, "PropertyName": "UserId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "LookupTable", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "Name" ] }, "IsMultiLingual": false }, { "Namespace": "Abp.Organizations", "ForeignEntityName": "OrganizationUnit", "ForeignEntityNamePlural": "OrganizationUnits", "IdType": "long", "IsNullable": true, "PropertyName": "OrganizationUnitId", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "Dropdown", "DisplayPropertyNameInfos": { "MergeFormat": "{0}", "DisplayPropertyNames": [ "DisplayName" ] }, "IsMultiLingual": false } ], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @stanley5389
Thank you for your feedback. We have created an issue for this, and you can follow the progress there. Best regards.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)