Activities of "Anjali_Musmade"

Hi,

please check similar issue https://support.abp.io/QA/Questions/1464/Date-Field-Restrictions-and-Format

please let me know if found helpful

thanks

Answer

Hi

can you configure this in your module and then share the logs it will be helpful if the strack trace is there

Configure<AbpExceptionHandlingOptions>(options =>
{
    options.SendExceptionsDetailsToClients = true;
    options.SendStackTraceToClients = true;
});

Hello,

There is no such example , but inside the shared project you need to create a EntityFrameworkProject just like in Microservices. and also need to create a DBContext.

Thanks

Answer

I will try. But what about get features it fell down two.
And can You answer me can feature has a name with white spaces?

No, feature must has some name it is not possible with white space you may check here https://docs.abp.io/en/abp/latest/Features#other-feature-properties

Answer

And is it ok that I have FeatureDefinitionProvider in the domain project

You may have but its better to have in Application.Contracts check here in documentation https://docs.abp.io/en/abp/latest/Features#featuredefinitionprovider

Answer

Hi,

I think the issue is in your code shared above. Try to optimize it.

I am not sure but can you please try with this code

private async Task<List<AssessmentTypeDto>> GetListAssessmentTypesWithCheckedFeatures(List<AssessmentType> asmtypes)
{
    var results = _objectMapper.Map<List<AssessmentType>, List<AssessmentTypeDto>>(asmtypes);
    var updatedResults = new List<AssessmentTypeDto>();
 
    foreach (var m in results)
    {
        var isEnableType = await _featureChecker.IsEnabledAsync(m.Code);
 
        if (isEnableType)
        {
            var movements = m.Movements.Where(x => await _featureChecker.IsEnabledAsync(x.Code)).OrderBy(x => x.DisplayOrder).ToList();
            m.Movements = movements;
            updatedResults.Add(m);
        }
        else
        {
            m.Movements = new List<AssessmentMovementDto>();
        }
    }
 
    return updatedResults;
}

thanks,

Hi,

Yes you can create multiple microservices sharing same DB.

Please check this similar ticket if find helpful https://support.abp.io/QA/Questions/1636/How-i-can-implement-shared-database-using-Microservices-in-other-words---How-more-than-one-microservice-can-use-the-same-database

Answer

Hi,

can you please share any logs?

Thanks for update,

can we close this ticket as issue resolved?

For setting default theme , you can add below code in **WebModule.ts

private void ConfigureTheme()
{
    Configure<LeptonXThemeOptions>(options =>
    {
      options.DefaultStyle = LeptonXStyleNames.System; //here you can add any theme, you want to set as default
       });
}

Hi,

It seems your files are not uploaded into Server You can try to add below code in **.Web.csproj file, so that files will be uploaded into server and styles will be rendered <Content Include="Themes\LeptonX\Global\side-menu\css\bootstrap-red.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Themes\LeptonX\Global\side-menu\css\red.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content>

Showing 571 to 580 of 1201 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54