In my application, in case of Logout, userId inserted automatically but username is not updating and in case of LoginSucceeded User id is not updating (it is external login), I want to add userid in AbpSecurityLogs if LoginSucceeded. I'm able to set the username but not userId Provide us with the following info:
await IdentitySecurityLogManager.SaveAsync(new IdentitySecurityLogContext() { Identity = IdentitySecurityLogIdentityConsts.Identity, Action = Microsoft.AspNetCore.Identity.SignInResult.Success.ToIdentitySecurityLogAction(), UserName = user.Name });
we are using this to add UserName but here UserId is not present.
In case of insert using abp, creation time and creator id is updating automatically, but in case of insert many, creator id and creation time is not inserting, as it is get only field, I'm not able to assign any value. Please help me with the solution.
I have followed steps present on - https://docs.abp.io/en/abp/latest/Text-Templating-Scriban it is working as expected in local but after deployment I'm not able to render the templates, how can I get TextTemplate folder on deployment server (the folder which contains .tpl files). Right now, at the time of rendering I'm getting error "foldername/templatename.tpl" not found.