Activities of "liangshiwei"

The question is when I try to add existing entity inside a module and generate Angular UI for that, I get this error for Angular UI. (Backend code generation is fine)

[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.

This is because they are differenct applications. ClinicSaas.Econsent and ClinicSaas

Hi,

please remove yarn.lock and package.json.lock files and run abp bundle to restore new NPM packages.

Make sure all Volo NPM packages are the 8.3.1 version. (leptonx theme version is 3.3.1)

Hi,

4 is Blazor webassembly and 7 is webapp

You can check this.

https://github.com/abpframework/abp/blob/cmscomment/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/UiFramework.cs#L10

Also, on this page - how to have filters and column of reserved properties, like TenantID, isDeleted, DeletedId, etc"

Suite doesn't support this, you have to do it yourself.

https://abp.io/docs/latest/framework/infrastructure/data-filtering https://abp.io/docs/latest/suite/customizing-the-generated-code

Your reply: You should not generate UI, you should reuse the module's UI Okay, I have decided to let it generate new files for entity, controller, and service. I will handle the mapping myself.

You can ignore it if you decided to let it generate new files

Hi,

Okay, I'm waiting for you

Answer

Current user is the user currently logged in to the application

What value will be set then?

CreatorId is user's id

Quick question: I am getting an error while downloading IdentityServer.Pro module: I know it is discontinued however, one of my clients is still using it

It looks like a problem, we will fix it soon.

Hi,

Unfortunately no, because it's Microsoft's bug and there's nothing ABP can do, you can try upgrade your project.

okay

I specifically requested a CLI method. I need to script this so that it is done exactly the same way each time we do a major upgrade, and so that each step is done in order and documented. This script is part of our source code.

The 'new' CLI is broken. Run "abp list-modules" and tell me how to parse that output to know which modules to request source code for, and which are included in the open source framework.

You can continue to use the old CLI, just try abp list-modules --include-pro-modules --old

How do I know which modules are pre-installed in the new project created by the CLI, and which need to be added by running "ABP add-module"?

Sorry, no documentation yet; here's how the suite checks if a module is installed.

public async Task<List<SuiteModuleInfo>> GetModuleListFromProductionAsync(Guid solutionId)
{
    var client = _cliHttpClientFactory.CreateClient();

    var url = $"https://abp.io/api/download/modules-by-organization/?OrganizationName=<Your OrganizationName>";
    
    using (var responseMessage = await client.GetAsync(url))
    {
        var value = await responseMessage.Content.ReadAsStringAsync();
        var modules = JsonConvert.DeserializeObject<List<SuiteModuleInfo>>(value);
        modules = FilterFreeModulesThatHasProVersion(modules);
        await SetIsInstalledAsync(solutionId, modules);
        .......
    }
}

private async Task SetIsInstalledAsync(Guid solutionId, List<SuiteModuleInfo> modules)
{
    var moduleFileContents = await GetContentsOfModuleFilesInSolutionAsync(solutionId);

    foreach (var module in modules)
    {
        if (moduleFileContents.Any(c => c.Contains($"using {module.Namespace}")))
        {
            module.IsInstalled = true;
        }
        else if (module.Name == "Volo.Abp.LeptonXTheme.Pro" && moduleFileContents.Any(c => c.Contains("LeptonX"))) //namespaces are different for UI options
        {
            module.IsInstalled = true;
        }
    }
}

private async Task<List<string>> GetContentsOfModuleFilesInSolutionAsync(Guid solutionId)
{
    var solution = await _solutionService.GetByIdAsync(solutionId);

    var modulePaths = Directory.GetFiles(solution.RootProjectDirectory, "*Module.cs", SearchOption.AllDirectories);

    var fileContents = new List<string>();

    foreach (var modulePath in modulePaths)
    {
        fileContents.Add(await File.ReadAllTextAsync(modulePath));
    }

    return fileContents;
}
Showing 841 to 850 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35