Activities of "nabass"

How to get extended property from tenant

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: vX.X.X
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • ABP Framework version: v8.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): MVC /Auth Server Separated (NO)
  • Exception message and full stack trace:
  • Steps to reproduce the issue: I create extended property on tenant like this code
private static void ConfigureExtraProperties()
{
    OneTimeRunner.Run(() =>
    {  ObjectExtensionManager.Instance.Modules()
     .ConfigureSaas(tenant =>
     {
         tenant.ConfigureTenant(tnt =>
         {
            
             tnt.AddOrUpdateProperty<EnvironmentMode>(
                 "EnvironmentMode"
                   , property =>
                   {
                       property.DisplayName = LocalizableString.Create<CoreSettingResource>("EnvironmentMode");
                       property.Attributes.Add(new RequiredAttribute());
                   });
                          });



});

//========================== and already appear in Create and edit tenant page and list of tenant page and saved on Tenant table but i have issue how i get the values from this extended property i tried to use IDistributedEventHandler and create new class in application project in src folder like that

 public class CustomTenantDistributedHandler:
 IDistributedEventHandler<EntityCreatedEto<TenantEto>>,
 ITransientDependency
 {
     [UnitOfWork]
     public async Task HandleEventAsync(EntityCreatedEto<TenantEto> eventData)
     {
         var tenantId = eventData.Entity.Id;
         var tenantName = eventData.Entity.Name;
         //...your custom logic
     }

     //...
 }

//================ but this event not fire can you advice ?

hi sir i faced an issue with js files i'm sure the path is correct, file is exist is there a package i must download or where is the problem?

hi i created angular project and it works but i have an issue with logout my logic is to add some items in database so these items added well but it works just one time just first time and when trying create again i got errors so to make create function work again i must refresh the page and when refreshing project logout alone automatically so i must login again to work and function works well try again inserting i got error so i must refresh and when refreshing project logout alone automatically ..... etc

i attached video to see problem if i can not explain please check

https://streamable.com/3cbycf

  • UI Type: Angular
  • Database System: EF Core (SQL Server )
Question

is there a way to edit layout default when login it open home page then choose my page in route to open what i want to do is when login with my tenant i want to open directly to my page and sidebar will be hidden i am sure there is an option to make this hidden when open the page and make user control it open it or close it and when login directed open my page not home page

  • ABP Framework version: v8
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I want to use the DevExpress DocumentViewer within my ABP application and have followed the steps provided in

https://abp.io/community/articles/integrating-devexpress-reporting-to-abp-mvc-application-0t99j3cz

when I run the application, I encounter an error

The error occurs in the following controller:

public class CustomQueryBuilderController : QueryBuilderController { public CustomQueryBuilderController(IQueryBuilderMvcControllerService controllerService) : base(controllerService) { } }

How can I resolve this issue and successfully open the DocumentViewer?

Hi i'v some errors 1- when running angular application when clicking login i got this error

2- is postman i tried login API and i got access token how to create method to send this token to header for allowing me put any API request and make it valid for view

for example: when i create my http request at first i must go to backend and give this api permission so i want to skip this step to allow angular application create http request from any where so how to send this token when login ?? or ABP offers me this logic automatically ??

thanks

  • ABP Framework version: v8
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

hi sir according to problems number #1698 && #6486 i faced same errors i read these articles but i found no solution then tried what Mr. maliming suggested 8 months ago but nothing works so is there a solution or still bug ?? in Edit screen i use lookup first time i got data and it works good second time data disappeared and i got this error

when debugging on lookup method first time is working second time (click edit again) i got this

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

hi, i have an error using Angular thanks to ABP allows me mapping between UI & server side in proxy and it created api automatically but what if i want to create my own service?? so i tried an api from another server in img 1 then used it as img 2 but i got that error so what should i do to access this api? after searching i found this code into ConfigureServices img 3 and put it within my machine and machine which has server both not working

  • ABP Framework version: v8
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • ABP Framework version: v8.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server )
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • i would like to ask about when i change language in abp application in at runtime to arabic gets error of my entity
  • because decimal field has comma separator ? any advice to make common solution
  • the following image clarify the error and display in English like "The field should be numeric from 0 to 99999"
Showing 1 to 10 of 47 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13