Activities of "ninomartini"

Question
  • ABP Framework version: v3.04
  • UI type: Angular

I can't figure out how to use two or more ngx-datatables on the same page using the ListService.

Table 1: ngx-datatable [rows]="data.items" [count]="data.totalCount" [list]="list" default>

Table 2: <ngx-datatable [rows]="dataMessages.items" [count]="dataMessages.totalCount" [list]="list" default>

Going to page 2 on one table causes the other table to also go to page two. How do I break this synchronization?

Understood, thank you.

I am using a shared database solution. Why did DataFilter not work?

Thank you for your quick response. According to one of your earlier responses, I thought that _dataFilter.Disable<IMultiTenant>() would achive my goal.

[ How to inject a repository to supply all the tenantfull and tenantless records of a database table? #115](https://support.abp.io/QA/Questions/115/How-to-inject-a-repository-to-supply-all-the-tenantfull-and-tenantless-records-of-a-database-table)

When and how is _dataFilter.Disable<IMultiTenant>() applied?

ABP Framework version: v2.9 UI type: Angular Tiered (MVC) or Identity Server Seperated (Angular): no

I have a console application that needs to modify records accross multiple tenants. The console application uses the host admin credentials. I tested out the code below without success:

using (_dataFilter.Disable<IMultiTenant>())
{
    var unit = await _unitAppService.GetAsync(Guid.Parse("ED9D4AC2-BC3F-1FA4-71D6-39F5F9048F20"));
    Console.WriteLine(unit.UniqueIdentifier);
}

I get the following error:

**Volo.Abp.Http.Client.AbpRemoteCallException: 'There is no entity Unit with id = ed9d4ac2-bc3f-1fa4-71d6-39f5f9048f20!'**

If I change the console application to the tenant's credentials and use ICurrentTenant to change the tenant I can find the record.

Any thoughts on what I am doing wrong?

@sean.alford,

Thank you for the suggestion. Unfortunately, it did not work for me. I get the error below:

error NU1101: Unable to find package volo.abp.suite. No packages exist with this id in source(s): ABP Nightly, C:\Program Files\dotnet\sdk\NuGetFallbackFolder, Microsoft Visual Studio Offline Packages, nuget.org
The tool package could not be restored.
Tool 'volo.abp.suite' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

I am trying to install v2.9 of the Cli and Suite. I can install a specific verion of the ABP Cli with the following command:

dotnet tool install -g volo.abp.cli --version 2.9

How can I install a specific version of ABP Suite? The following command is loading ABP Suite 3.0

abp suite install

FYI. Angular project using ABP and ABP Suite 2.9.

User is unable to update their email address from "Manage your profile". The only way to update the user address is from Administration -> Idenentity Managment -> Users.

FYI. Angular project using ABP and ABP Suite 2.9.

The CRUD Page generator is adding a space to enums when more than one uppercase character is used.

C# Enum

public enum BillingPeriodType
{
    Monthly=1,
    Quarter=2,
    SemiAnnual=3,
    Annual=4
}

Enum generated in Angular (notice the space in semi annual)

export enum BillingPeriodType {
    Monthly = 1,
    Quarter = 2,
    Semi annual = 3,
    Annual = 4
}

Keep up the great work, I like what I am seeing.

  • ABP Framework version: v2.9.0

Would you please provide guidance on why I am unable to install ABP Suite v2.9.0. Here are the steps taken:

Step 1: dotnet tool install -g volo.abp.cli (Success)

Step 2: abp login <username> -p <password> (Success)

Step 3: abp suite install (Error below)

Thank you in advance

Showing 21 to 30 of 36 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35