Starts in:
0 DAY
2 HRS
19 MIN
31 SEC
Starts in:
0 D
2 H
19 M
31 S

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:

Thank you, it's working and event can fire now but i make this event to access extra properties "TaxRegisterationNo" in tenant but it is not found in TenantCreateEto

public class CustomTenantDistributedHandler : ILocalEventHandler<TenantCreatedEto>, ITransientDependency {

 public async Task HandleEventAsync(TenantCreatedEto eventData)
 {
     var tenantId = eventData.Id;
     var tenantName = eventData.Name;
     var TaxRegisterationNo = eventData.Properties["TaxRegisterationNo"].ToString();
     //...your custom logic
 }

 //...

}

  • 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 ?

there is no steps i just open the application then open the page i got this warning

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 )
Answer

it works thank you super :) i noticed that is hover is there a way to make it clickable

Answer

thanks it works i am waiting for next answer with solution of hiding sidemenue thanks again, :)

Answer

OMG nobody can create sample to this logic and help me ?? wow !!

hi

Can you share a DevExpress NuGet Feed? liming.ma@volosoft.com

I will try to add swagger to this project

https://abp.io/community/articles/integrating-devexpress-reporting-to-abp-mvc-application-0t99j3cz https://github.com/abpframework/abp-samples/tree/master/DevExtreme-Reports-Mvc

Here is the DevExpress NuGet:

I will check it out, but is there another way to use the DevExpress Document Viewer in my project? My project uses ABP modularity, not a simple application.

Showing 31 to 40 of 158 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06