Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Hello,
We need to add the standard audit fields to our dbo.AbpRoles table as well as plug that table into your out of the box auditing functionality. However Volo.Abp.Identity.IdentityRole inherits from AggregateRoot<Guid> and not FullAuditedAggregateRoot<Guid> hence the auditing fields are not generate for us, how do we get round this issue?
We have created an AppRole class, which inherits from FullAuditedAggregateRoot<Guid> and added the following code:
protected override void OnModelCreating(ModelBuilder builder)
{
builder.Entity<AppRole>(b =>
{
b.ToTable(AbpIdentityDbProperties.DbTablePrefix + "Roles");
b.ConfigureByConvention();
b.Property(p => p.Name);
b.Property(p => p.NormalizedName);
});
}
Unfortunately, the table generating code still uses Volo.Abp.Identity.IdentityRole instead and doesn’t add the auditing fields we want to the dbo.AbpRoles.table
Please can you help?
I think our ideal fix would be for Volo.Abp.Identity.IdentityRole to inherit from FullAuditedAggregateRoot<Guid> much like Volo.Abp.Identity.IdentityUser does.
Hello,
I am relatively new to both abp.io and Angular2 so please bear with me. I am currently on your version 3.0.5.
I am looking to implement scroll bars in a modal dialog (i.e. abp-modal), vertical scroll bars to be specific as the dialog immediately gives you a horizontal scroll bar when a data table is added.
I added the following to the component stylesheet:
overflow-scroll {
max-height: 30px;
overflow-y: scroll;
}
Please note that I have set the max-height figure above deliberately to a ridiculously low amount.
I have put the style in the following places in the html and still not getting anything displayed:
On the abp-modal tag itself
<abp-modal [busy]="isModalBusy" [(visible)]="isModalOpen" class="overflow-scroll">
In a new div just after the abp-modal tag above
<div class="overflow-scroll">
I have also tried using styles directly in the html file but still no luck.
Please can you tell me what I need to implement to get a vertical scroll bar implemented in a modal?
Thanks.