Activities of "davidc@educlarity.com"

Answer

I installed a 4.4.rc2 installation

Did the DBMigrations.

When I tried to run the .Web program for the first time

AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!

Ok.. Thank you. I will close this ticket.

I think I may have answered my own question here.. But I'd appreciate any feedback on this:

https://docs.abp.io/en/abp/latest/Data-Filtering

Adapted from the link above. Disable the IMulitiTenant data filter.

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;

namespace Acme.BookStore
{
    public class MyBookService : ITransientDependency
    {
        private readonly IDataFilter _dataFilter;
        private readonly IRepository<Book, Guid> _bookRepository;

        public MyBookService(
            IDataFilter dataFilter,
            IRepository<Book, Guid> bookRepository)
        {
            _dataFilter = dataFilter;
            _bookRepository = bookRepository;
        }

        public async Task<List<Book>> GetAllBooksForAllTenantsAsync()
        {
            //Temporary disable the IMultitenant filter
            using (_dataFilter.Disable<IMultiTenant>())
            {
                return await _bookRepository.GetListAsync();
            }
        }
    }
}

Greetings;

Say for example i have this business case:

I have a service based business. I want my tenants to be able to submit a work request to me (the application owner). I want to be able to design a UI such that I can see all of these requests (from all tenants) in one location, and manage them from one central location.

Questions: Can you talk about any design considerations for this scenario? Should the ServiceRequest entity be designed any differently than a normal entity? Another quick side question: I come from the aspnetzero world where there is IMayHaveTenant: does this exist within ABP?

Many thanks,

--Dave

ps: If anybody else out there is/has worked with this scenario, I'd appreciate any of your issues and resolutions too!

This has been asked many times before.... Including by myself.

Here was/is the temporary solution from my existing ticket.

https://support.abp.io/QA/Questions/1386/Can't-log-in-as-new-tenant

Im not sure if this is considered an error or not or what are the plans for ameliorating the issue.

Good luck! --Dave

yep that solved the issue.

For other people:

In the Domain project go to <ProjectName>TenantDatabaseMigrationHandler.cs

under the private async Task MigrateAndseedForTenantAsync method

// Create database tables if needed using (var uow = _unitOfWorkManager.Begin(requiresNew:** false** /*<- change me to false */, isTransactional: false))

// Seed data using (var uow = _unitOfWorkManager.Begin(requiresNew: false /*<- change me to false */, isTransactional: true))

Hi there; Sorry I don't have an answer to your question. But Im also a DevExtreme user and have found it difficult to integrate DevExtreme with ABP.IO (and aspnetzero).

Do you have problems with the .Key("id") part? i've found that since ABP uses inherited ID numbers, DevExtreme has a hard time finding the ID. i've had limited success working with the JSON configuration (camel case vs pascal case).

Sorry, didn't mean to hijack your post, Im looking forward to their response as well.

Best, --Dave

this is the same error that numerous other people are receiving.

  • ABP Framework version: v4.3.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I am working on a fresh install of abp.io 4.3.1 using Abp Suite. I first created the navigation properties. (I ran the app and was able to see/populate the new properties) then created the parent property referencing the two navigation properties. When (in abp suite) I tried to build the entity, a message said it couldn't complete because there was an error in the build. When I went to manuall build, the following error appeared:

The objects that are affected AnalyticProductType and AnalyticProductDomain are my two navigation properties

Yep the exact same thing was/is happening to me.

When an entity is created, and if you make an alteration to that entity, it adds the same line to the Menu file.

Showing 1 to 10 of 27 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11