Thanks, I will fix this.
Your question credits have been refunded.
hi
I think this problem has been solve on 8.x.
Can you test an 8.x template project?
You can download the Account Pro module source to override in your 7.3.3
hi
You can use a third library to add Report Viewer to your Blazer project.
abp does not have a built-in Report Viewer component
hi
One way is a good approach. You can use GUID? UserId in your module.
hi
You can add this class to your Domain layer. The key code is auditLog.EntityChanges.RemoveAll(x => x.PropertyChanges.Count == 0);
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Volo.Abp.Auditing;
using Volo.Abp.AuditLogging;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Uow;
namespace MyCompanyName.MyProjectName;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AuditingStore), typeof(IAuditingStore))]
public class MyAuditingStore : AuditingStore
{
public MyAuditingStore(
IAuditLogRepository auditLogRepository,
IUnitOfWorkManager unitOfWorkManager,
IOptions<AbpAuditingOptions> options,
IAuditLogInfoToAuditLogConverter converter) : base(auditLogRepository, unitOfWorkManager, options, converter)
{
}
protected async override Task SaveLogAsync(AuditLogInfo auditInfo)
{
using (var uow = UnitOfWorkManager.Begin(true))
{
var auditLog = await Converter.ConvertAsync(auditInfo);
auditLog.EntityChanges.RemoveAll(x => x.PropertyChanges.Count == 0);
await AuditLogRepository.InsertAsync(auditLog);
await uow.CompleteAsync();
}
}
}
If I update say the phone number on Azure, I am not able to get the updated phone number into Personal Info.
You can update the local user phone number during Login by override the OnGetExternalLoginCallbackAsync method of LoginModel or OpenIddictSupportedLoginModel
I am signing in with new user.
The phone number comes from the phone_number claim. Make sure the externalLoginInfo has this claim.
var externalLoginInfo = await SignInManager.GetExternalLoginInfoAsync();