Hello,
I know this is not realated to ABP but I wonder if you can help me.
I am following this guide for implementing many to many relationship between two entities as it is mentioned few times in forum posts ( Link ).
The problem I have is that my AppService is returning null for BookCategory list.
I included BookCategory in EfCoreBookRepository created by ABP Suite, but I still get null...
Hello.
I have problems with my background worker and audit logs.
I created background worker (AsyncPeriodicBackgroundWorkerBase) as written here https://docs.abp.io/en/abp/latest/Background-Workers
All my logic for worker is in .Application (so I can get data from other repositories too) and registration of worker is in .Domain. So what my worker is doing:
The problem I have is that my background worker add empty log to database and then my Audit Log page on Angular is not showing any record.
AbpAuditLogs record:
77D52432-2114-0BB5-301C-39FE27C35A76 NULL NULL NULL NULL NULL NULL NULL 2021-08-05 11:13:05.3309880 5181 NULL NULL NULL 57b7b5ca3bb7408cab6e6525112e1cd9 NULL NULL NULL NULL {} e5867ffa4103491fa16d61e226d75790
AbpAuditLogActions record:
0B1276A4-5EE4-C8E9-29C1-39FE27C35A78 NULL 77D52432-2114-0BB5-301C-39FE27C35A76 MyProject.ImportDatas.ImportDataAppService SentEmailToUsersAsync {} 2021-08-05 11:13:05.3310275 5180 {}
Audit Log page:
Console errors:
Hello. I am trying to add boolean field to Personal Setting (Personal info) in Angular UI. Field already exists in AbpUsers table.
I am following this guide https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement.
First I installed module @abp/ng.account with yarn so I can get eAccountComponents.PersonalSettings for replacing. After I installed module I got bunch of errors in others components (only html classes)...
After that I created my custom component and added replaceble logic to AppComponent
import { Component } from '@angular/core';
import { CustomPersonalSettingsComponentComponent } from './custom-personal-settings-component/custom-personal-settings-component.component';
import { ReplaceableComponentsService } from '@abp/ng.core';
import { eAccountComponents } from '@abp/ng.account';
@Component({
selector: 'app-root',
template: `
<abp-loader-bar></abp-loader-bar>
<abp-dynamic-layout></abp-dynamic-layout>
`,
})
export class AppComponent {
constructor(
private replaceableComponents: ReplaceableComponentsService, // injected the service
) {
this.replaceableComponents.add({
component: CustomPersonalSettingsComponentComponent,
key: eAccountComponents.PersonalSettings,
});
}
}
After adding imports, I got error that abp-dynamics-layout is not a known element...
Even with all that errors, my project compiled successfully and I can use all my broken components (html). When I go to Personal info, it still show default component, not mine...
Anyone know why I got these errors in html after installing @abp/ng.account and why PersonalInfo replacing is not working? If I try and replace Manage profile component it works...
Hi.
I created new project with abp suite (application template / angular / ef core / sql server). I migrated db and created new entity Notes and added required field Title. Then I tried to add navigation property AppUser (one-to-many relationship... one note can have one appuser ("autor"), but one appuser can have multiple notes).
I followed this guide LINK but i keep getting error The property 'AppUser.ExtraProperties' could not be mapped. I already looked on forums and github, but can not fix this issue.
In abp suite 4.3.0 entity class, dto class and mapping is already created when project is created. I defined navigation property just like in guide and still no success. Am I missing something?
Thanks for answers.
Hello.
I was looking in documentation but can not find any article/guide on how to install ABP Angular Bootstrap tags found here bootstrap-taghelpers.abp.io. Can we use these components and is there any guide to show how to install and use them?