Activities of "liangshiwei"

Hi,

You can try add the Volo.CmsKit.Pro.Domain.Shared package to XTC.BaaSo.AdministrationService.Domain.Shared project and configure the global features.

Hi

I will check it.

Hi,

I mean the user edit page in the ABP application

Hi,

Please move GlobalFeatureManager.Instance.Modules.Cms... to ProductServiceGlobalFeatureConfigurator class

Answer

Hi,

No, current abstraction does not support to set job retrycount.

You can check this: https://github.com/abpframework/abp/issues/4174

Answer

Hi,

You can create users using a separate transaction. for example:

foreach(var item in list)
{
    using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional:true))
    {
        try
        {
            var user = new IdentityUser(
                GuidGenerator.Create(),
                <username>, /// item.Username
                <email>, // item.email
                CurrentTenant.Id
            );
    
            user.SetPhoneNumber(<phoneNumber>, false);
            
            await UserManager.CreateAsync(user, <password>)).CheckErrors();
    
            await uow.CompleteAsync();
        }
        catch (Exception e)
        {
            await uow.RollbackAsync();
            throw e;
        }
    }
}

Answer

Hi,

This actually has nothing to do with ABP framework.

You can choose your favorite Excel library to upload Excel files, for example: https://github.com/mini-software/MiniExcel

Hi,

Yes

Hi,

Could you share a simple project to reproduce the problem with me? shiwei.liang@volosoft.com I will check it. thanks.

Hi,

You can try:

...
[ReplaceDbContext(typeof(IFileManagementDbContext))]
public class YourDbcontext: ..... IFileManagementDbContext
{
    .....
    
    public DbSet<FileMataData> FileMataData {get; set;}
   
    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);
    
        .....
         
        builder.Entity<FileMataData>(b =>
        {
            b.ToTable(MyProjectNameConsts.DbTablePrefix + "FileMataData", MyProjectNameConsts.DbSchema);
            b.HasOne(e => e.File).WithOne();
            b.ConfigureByConvention(); //auto configure for the base class props
        });
    }
}
public class FileMataData: Entity<Guid>
{
   public Guid FileId { get; set; }
   public FileDescriptor File { get; set;}
   
   .....
}
Showing 3321 to 3330 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20