Activités de "rafael.gonzales"

Related to this, if you group the select2 initialization methods in the javascript in a single "publicApi.onOpen", it will increase the performance of the site.

When you create an entity with many properties and 1to1 relationships and use typeahead as dropdown style. When you render those in the Create or Edit modal, it won't display because by default ABP Suite generates a wrong dropdown parent for the select2 initialization properties.

Now it looks like this.

but it should look like this with the ".modal-content" added for create and edit

Let's say, for example, you have an entity that you need to add two 1 to 1 relationships with the same external Entity.

For example, for the entity "Exchange" you need to map two "Money" entities as 1 on 1

Actually, in ABP Suite, there is no way to customize the property name of the navigation classes for Domain or Application.Contracts. Even if you try to customize the "Entity Name" or "Dto Name" in the advanced tap, if you change, for example, "Entity Name", your class will be named "BlueMoney" and the property name also as "BlueMoney" but the correct should be, class "Money" and property name "BlueMoney".

That's for the case when you need to repeat the 1-1 relationship with the same entity.

Hello, Could you please finally fix the localization in the excel methods of the AppService in a generate suite entity? I am tired of fixing myself everytime

for example, this is a generated excel method

        public virtual async Task<IRemoteStreamContent> GetListAsExcelFileAsync(DemoEntityExcelDownloadDto input)
        {
            var downloadToken = await _downloadTokenCache.GetAsync(input.DownloadToken);
            if (downloadToken == null || input.DownloadToken != downloadToken.Token)
            {
                throw new AbpAuthorizationException("Invalid download token: " + input.DownloadToken);
            }

            var clientes = await _clienteRepository.GetListWithNavigationPropertiesAsync(input.FilterText, input.Name1, input.Name2, input.Name3);
            var items = clientes.Select(item => new
            {
                Name1 = item.DemoEntity.Name1,
                Name2 = item.DemoEntity.Name2,
                Name3 = item.DemoEntity.Name3
            });

            var memoryStream = new MemoryStream();
            await memoryStream.SaveAsAsync(items);
            memoryStream.Seek(0, SeekOrigin.Begin);

            return new RemoteStreamContent(memoryStream, "DemoEntities.xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
        }

First, the file name is not localized, if I changed language, it will be downloaded always like "DemoEntities.xlsx". Also, if you are using an entity with navigationproperties or not, the columns are not localized either, you need to add a configuration for that.

For example

var config = new OpenXmlConfiguration
{
      DynamicColumns = null
      //[ new DynamicExcelColumn("XYZ") { Name = L["XYZ"]} ]
};

I have to recreate the column every time and it's kind of frustrating since ABP Suite template system doesn't provide a way to iterate or use the properties to do this kind of complex scenario, please fix it.

In Blazor WebApp, if you click on "Actions" and then click on "Edit", it will also trigger the delete checkbox. If you try to edit more than one row, it will check both of them, that does not seem like the expected behavior.

DateOnly new type is not displaying any control or component to change it's data in Blazor WebApp new template

is ABP commercial using Blazorise Free tier? it's showing a message to purchase commercial version

You can't create an entity with ABP Suite + ABP Cli 8.2.0-rc.3

Hello!

Newest Blazor WebApp template doesn't render correctly the style of the scrollbar

Hello

In ABP Suite 8.1.3, the "Menu Icon" field doesn't work, you can place any font-awesome icon (even the PRO one) and it get replaced with the default one "fa-file-alt", please move any validations from here, people can use it for PRO or FREE version of font-awesome

Affichage de 1 à 10 sur 113 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11