Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "OriAssurant"

Issue is resolved. Was looking in the wrong place.

Thank you!

Yes, I had tried that. But still shows up as POST method in Swagger

I have added the files i need for routing within the same Dashboard tab. Also attached 1 App_Start- > Navigation -> PageNames.cs where i added the permissions. Also added same permissions in the database for those pages added.

Please review it and let me would i be able to implement wizard like functionality within the same tab .. Would appreciate any help from you. App.zip

Answer

Thank you.

I see ISoftDelete is being implement in the below fashion at AbpDbContext: protected override void OnModelCreating(DbModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.Filter(AbpDataFilters.SoftDelete, (ISoftDelete d) => d.IsDeleted, false); modelBuilder.Filter(AbpDataFilters.MustHaveTenant, (IMustHaveTenant t, int tenantId) => t.TenantId == tenantId || (int?) t.TenantId == null, 0); //While "(int?)t.TenantId == null" seems wrong, it's needed. See <a class="postlink" href="https://github.com/jcachat/EntityFramework.DynamicFilters/issues/62#issuecomment-208198058">https://github.com/jcachat/EntityFramew ... -208198058</a> modelBuilder.Filter(AbpDataFilters.MayHaveTenant, (IMayHaveTenant t, int? tenantId) => t.TenantId == tenantId, 0); }

However, if I create a new interface like IHasOraginzationUnit, how can I restrict it to just one entity/table in my Project's DbContext?

  • I also came across AbpUserStore in the meanwhile. Is there any way I can leverage this feature to achieve my task?

somehow its does not show any error on console ..

It shows the url on the left bottom of the page when I hover on the details button but when I click on it ..it does not redirect to that page

Answer

So in using OU's, how would we prevent cross OU members from seeing each other's data? You're not suggesting modifying every controller output's LINQ statement, are you?

Answer

Can you point me to the documentation about "UserGroups"? I only see Org. Units...

@ismcagdas If I want to incorporate this even in the create user screen. What would be the best approach?

Answer

As far from my research in MultiTenantMigrateExecuterclass I found that, this else block will be called only when we configure "connectionString" for that Tenant in AbpTenants table. If that connection string is not null, then this else block is been called. Now my question here is, I set the connection string as "Server=localhost; Database=Majestic; Trusted_Connection=True;" (without quotes) in the table. But when I debug then I get this error: "System.FormatException: 'The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. '" while trying to log the connection string using "Log.Write("Connection string : " + SimpleStringCipher.Instance.Decrypt(tenant.ConnectionString));"

Can you let me know what format of the connection string does it is looking for? I was using the samething that aspnetzero provides

Showing 81 to 90 of 92 entries