Activities of "EngincanV"

If you want buttons outside of the Datatable, you can directly add it to your .cshtml file as below:

<abp-card>
    <abp-card-body>
        <button class="btn btn-primary mb-3">My Button</button>
        <abp-table striped-rows="true" id="MyTable" class="nowrap"></abp-table>
    </abp-card-body>
</abp-card>

Also instead of this, you might want to use Page Toolbar Extensions.

Hi, you can use the rowAction and define a single item as below:

{
    //...
    title: l('MyButton'),
    target: 0,
    rowAction: {
        items:
            [
                {
                    text: l('MyButtonText'),
                    visible: abp.auth.isGranted('MyPermissionGroup.Default'), //add permission
                    action: function (data) {
                        //your logic (when clicked the button)
                    }
                }
            ]
        }
    }
}

This will be rendered as a button.

Hi, can you check that the permission is granted? Because, 403 error indicates that you've logged in but don't have the permission.

@EngincanV

Thank you for a quick reply. I heard of this book and was really curious to download it.

This is kind of biased as we have been using Enterprise license for last 2 years and have renewed it from 5 licenses last year to 10 licenses this year.

I believe it should be available for old licenses as well :(

Sorry to hear that. We've wanted to gift the book to you, please check from the https://commercial.abp.io/my-organizations/ .

Best Regards.

Hi, all new (bought a new license after the 16th of January) customers (owners of the license) can download the ABP Framework book for free from the https://commercial.abp.io/my-organizations/ .

Like https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Block-Busy is there any option available for angular?

You can use the [abpLoading] directive like as below:

<div class="my-container" [abpLoading]="isLoading">
    lorem ipsum
</div>

For example usage from the framework, please see.

Hi, can you please check the thread of #2913?

Hi, IRepository doesn't inherit from IQueryable anymore. (See related blog post) So you need to obtain IQueryable for your repository to be able to use LINQ methods, the recommended way is using IRepository.GetQueryableAsync() to obtain an IQueryable.

  • So you can change your code as below.
var queryable = await Repository.GetQueryableAsync(); //obtain IQueryable
var query = queryable.Include(r => r.LayerFields).Where(a => a.LayerName.Equals(tempLayerDto.LayerName));

https://docs.abp.io/en/abp/5.3/Repositories#querying-linq-over-the-repositories

NCHAR and NVARCHAR2 use character length semantics. The number of characters for columns with one of these data types depend on the character set, NLS_NCHAR_CHARACTERSET. ODP.NET Entity Framework Core defaults to a 2-byte character set, which allows a maximum of 2000 characters for NCHAR and NVARCHAR2 columns. If a [Maxlength(4000)] data annotation or fluent API equivalent is used for a string entity property, ODP.NET will map the property to an NCLOB type because the specified length is greater than 2000 characters. (https://docs.oracle.com/en/database/oracle/oracle-database/21/odpnt/EFCoreDataTypeMapping.html#GUID-484E9D3A-8E42-417F-9591-F2E7305E3F6A)

According to the description, you either need to add [MaxLength(4000)] data annotation to the property or change the data type to NCLOB.

builder.Entity<AuditLog>(b =>
    {
        b.Property(x => x.Exceptions).HasColumnType("CLOB").HasMaxLength(4000);
    });
    
builder.Entity<AuditLogAction>(b =>
    {
        b.Property(x => x.Parameters).HasColumnType("CLOB").HasMaxLength(4000);
    });

Please create a new question, this is not related to the current question.

Best Regards.

Showing 461 to 470 of 730 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11