أنشطة "ElifKaya"

Hi,

That's weird. Could you please share a simple project with me? i will check it.

my email is shiwei.liang@volosoft.com

I send it thanks

Hi,

We upgraded abp version to 8.1.3. Our problem which in this ticket is continue. What could be causing the problem? It is broken with latest LeptonX(3.1.-). It worked our older version with 7.3.1 (LeptonX 2.3.2) successfully.

Hi,

I recommend upgrading, because 8.1.1 has serious performance issues

Thanks

Hi,

Could you upgrade to 8.1.3?

Is there a way to solve it without upgrading? For example, can we solve as override something in our project?

Thanks

Hi,

We are using notification button for a long time. After volo package upgraded to v8.1.1 version from v7.3.1, notification button is not clickable. Is it related with the v8.1.1? Because, it works when we go back to the old version.

Actually, our Notification Module is a different project and it uses Lepton theme. It works successfully alone. But, we implement also this module in our main solution ant it uses LeptonX theme. It doesn't work with v8.1.1.

When we defined appPath(or any other words) variable with "let", it throws exception like: AppPath already defined. Then we changed as a "var". This error dispreads right now. We want to notification module under the main solution.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index 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:

ABP Framework version: v8.1.1

UI Type: MVC

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes/

Exception message and full stack trace:

Steps to reproduce the issue:

Hi,

Can you share the full error logs?

Hi,

Actually, current user has permission and it didn't throw exception from other appService with this tenant. It throwed exception when we use tenant just EventHandler.cs. So I think that we need to add tenant information in ClaimsPrincipal, is it possible or can you advice any other option? Thanks

Hi,

I need to use ClaimsPrincipal with current tenant. Actually, there is no problem without tenant. I also used _currentTenant.Change but, it throws Volo.Abp.Authorization.AbpAuthorizationException when I call to PhaseAppservice as below. I need to access to appService in IDistributedEventHandler also.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index 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:

  • ABP Framework version: v7.3.1
  • UI Type: Angular / MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi, I created an article to show how to hide ABP related endpoints on Swagger UI by simply checking from the settings page. Your requirement is almost the same, so you can follow this article and update it according to your needs.

Also, please notice if you want to hide ABP-related endpoints on Swagger UI on development time, you can use the built-in option: https://docs.abp.io/en/abp/latest/API/Swagger-Integration#hide-abp-endpoints-on-swagger-ui

Thanks, I used this method to hide endpoints before. But, we want t o manage this option dynamically. For example, if admin user select some module from UI, then we want to show it on swagger. Otherwise, users should not see this module's endpoints Is it possible?

Hi,

We removed some modules from feature management module. So, we don't see any pages or something of removed module on UI side. But, we can see removed module's endpoints on Swagger side. How can we manage swagger endpoints by using feature management? We want to manage this selection(hide/show module on swagger) from UI side with admin user.

Thanks,

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index 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:

  • ABP Framework version: v7.3.1
  • UI Type: Angular / MVC
  • Database System: EF Core (SQL Server,)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I recommend you instead do this in a normal API controller instead of an App service as you want to return a file rather than some wrapped ajax/json response - which is what the dynamic API part of ABP will do with the AppServices.

Here is an example returning and ICS file.

[HttpGet] 
[AllowAnonymous] 
public FileResult ICS(Guid id) 
{ 
    var appointment = _attendanceRepo.GetAllIncluding(c => c.CalendarEvent, d => d.CalendarEvent.OwnerCalendar.Owner).First(d => d.Id == id); 
 
    string output = $"BEGIN:VCALENDAR" + rt + 
        $"VERSION:2.0" + rt + 
        $"BEGIN:VEVENT" + rt + 
        $"UID: calendr-" + appointment.Id + rt + 
        $"DTSTART:" + string.Format("{0:yyyyMMddTHHmmssZ}", appointment.CalendarEvent.Start) + rt + 
        $"DTEND:" + string.Format("{0:yyyyMMddTHHmmssZ}", appointment.CalendarEvent.End) + rt + 
        $"SUMMARY:" + appointment.CalendarEvent.EventName + " with " + appointment.CalendarEvent.OwnerCalendar.Owner.FullName + rt + 
        $"LOCATION:" + appointment.CalendarEvent.Location + rt + 
        $"END:VEVENT" + rt + 
        $"END:VCALENDAR" + rt 
        ; 
 
 
    HttpResponseMessage result = new HttpResponseMessage(HttpStatusCode.OK); 
    var stream = new MemoryStream(Encoding.UTF8.GetBytes(output ?? "")); 
    result.Content = new StreamContent(stream); 
    return File(stream, "text/ics", fileDownloadName: appointment.CalendarEvent.EventName + ".ics"); 
 
} 

Hi, Thank you for your comment. But, we used ajax request successfully in Angular. So, I think that we should achieve this in MVC.

عرض 1 الي 10 من 101 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11