ok let me check
Hi,
The feature you want to implement is already available in previous version of ABP v7.4.5 or less.
If possible try to use previous version of ABP.
Thanks
Hi,
Could you please check is there any logs?
I am unable to reproduce issue at my end. As I already shown you in video that its working fine.
Please try to click on Unit1
or Unit2
and then click save button.
When you click on them it will not show you selection in view but it get selected.
Thanks,
Hi, I have followed below steps and it works properly at my end.
Add AbpAudit Module as a project.
I have added this code in hostmodule.cs file in ConfigureServices()
method.
Configure<AbpAspNetCoreAuditingOptions>(options => { options.IgnoredUrls.AddIfNotContains("/api/app/books"); });
Add [DisableAuditing]
in a controller or appservice.
After following above steps when I call api the entry is not added in AuditLogs table. I think this is what you want , right ?
Please let me know , If anything else required.
Thanks,
Hi,
could you please check is there any logs?
Can you please confirm once where are you adding this provided code? please check this documentation https://docs.abp.io/en/abp/latest/Audit-Logging#abpaspnetcoreauditingoptions
Hi,
Can you please try with this code
Configure<AbpAspNetCoreAuditingOptions>(options => { options.IgnoredUrls.AddIfNotContains("/api/app/jobs/sync-robot-drivers"); });
Hello ,
Please check this similar issue https://support.abp.io/QA/Questions/3901/DisableAuditing-not-working-on-Controller-and-Controller-Action
Thank you.
Hi
public override async void Define(IFeatureDefinitionContext context)
{
var tasksGroup = context.AddGroup(FeatureNameForSingleMovements);
var protocolGroup = context.AddGroup(FeatureNameForProtocols);
await DefineFeaturesForAssessmentType(tasksGroup, AssessmentTypeNames.Movement);
await DefineFeaturesForAssessmentType(protocolGroup, AssessmentTypeNames.Protocol);
}
this method is not awaited so the feature are getting undefined
can you try using AsyncHelper To call your async method and run them in sync.
It would be good to define feature as a concrete and not from database.
Yes it is possible , you have to customize your code at your side.