Hi,
As you said I tried implementing AudtingStore
.
But I was not able to log the data like AbpAuditLog
.I think I missed out something
I got reference from the source code
Below is my code , Please help if something is wrong in the implementation
[Dependency(TryRegister = true)]
public class AWSAuditingStore: IAuditingStore, ISingletonDependency
{
public ILogger<AWSAuditingStore> Logger { get; set; }
public AWSAuditingStore()
{
Logger = NullLogger<AWSAuditingStore>.Instance;
}
public Task SaveAsync(AuditLogInfo auditInfo)
{
Logger.LogInformation("AWSAuditingStore : {0}", auditInfo.ToString());
return Task.FromResult(0);
}
}
Thanks alot @liangshiwei It worked
What I have now : I have a table which contains name of the countries e.g.
1. India
2. China
3. Russia
4. ...
This data comes from the database which is stored in english and is displayed in one of my form through dropdown
What I want to achieve : If my user changes the language to chinese from the language dropdown I want to show him the converted text i.e.
1. 印度
2. 中国
3. 俄国
4. ...
All my data in database is stored in English I want to display that data as per the language selected by the user Is there a way to achieve this ?
Hi @alper,
I tried to implement "Multi Lingual Entity" I created the Entity using IMultiLingualEntity & IEntityTranslation as per the document
But I got stuck in this part CreateMultiLingualMap https://aspnetboilerplate.com/Pages/Documents/Multi-Lingual-Entities#createmultilingualmap
If you can guide me how to map the entities , It will be helpful
Thanks
Hi,
I have few set of forms which I want to show to a specific tenant but it should not be visible for my other tenants. I can achieve this by roles and permissions etc. But my question here is : Is there any other way to implement this with some multi-tenancy feature , if it's available ? Like tenancy based menu or something...
Thank you
Posting this issue on behalf of my team member. He is unable to access his abp.io commercial account.
We used "Forget password" option and received a mail but its not opening in my outlook. He marked it as "Not Junk" still not able to see the link. He used outlook in web and got the link but again its not opening. Also, Tried to remove the cache from browser, still link is not working.
The url looks like following: "http://r.announcement.aspnetzero.com/tr/cl/<encrypted string>"
Please guide me to reset the password or How can we reach to abp.io for this urgent issue. The mail received looks like this :
Hi,
I am trying to use CurrentUser by using Abp functionality
Volo.Abp.Users.ICurrentUser
Volo.Abp.Application.Services.ApplicationService.CurrentUser{get;}
I am not able to get CurrentUser details Please find my code below for reference :
public virtual async Task<SomeDto> GetDetailsByUserId()
{
var CurrentId = CurrentUser.Id;
var SomeId = _someRepository.Where(x => x.UserId == CurrentId)
.Select(x => x.someData).FirstOrDefault();
return _someOtherRepository.Where(x => x.SomeId == SomeId).Select(x => x.SomeCode).ToList();
}
Continues for the same question Is there any way to get Current User Id in angular ?
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.
As per this document can we use chart.js in abp ? https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#depended-packages
I am not able to find any document to implement chart.js in abp angular Can you please guide me how to do it ?