Open Closed

The first 10 records are downloaded when trying to download with csv in the form module #6026


User avatar
0
aksogut created
  • ABP Framework version: v7.4.0
  • UI Type: Angular / MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I created a form consisting of 5 questions in the Fom module. 17 answers were entered. When I try to download the answers in csv format, it only downloads the first 10. It does not download the others. I did not make any customisation in the form module.


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I will check it

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We will fix it in the next version. your ticket was refunded.

    You can try:

    [ExposeServices(typeof(IFormAppService))]
    public class MyFormAppService : FormAppService
    {
    
       ....
       
       public override Task<PagedResultDto<FormResponseDetailedDto>> GetResponsesAsync(Guid id, GetResponseListInputDto input)
        {
            input.MaxResultCount = int.MaxValue;
            return base.GetResponsesAsync(id, input);
        }
    }
    
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11