Open Closed

Volo.Forms Module - Download Responses Into CSV File doesn't work #3023


User avatar
0
sukhdeep.dhillon created
  • ABP Framework version: v5.2.1
  • UI type: MVC
  • DB provider: EF Core

I installed Volo.Forms module into the existing application. in this module, functionality that allow to download responses into CSV file doesn't work.

As Application service layer depend on the CsvHelper library. if I use CsvHelper (15.0.9) version, blank file gets downloaded without any data in it. but if I use the latest version of CsvHelper (27.2.1) then getting the following error


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

    hi

    Please override public virtual async Task<IRemoteStreamContent> GetCsvResponsesAsync(Guid id, GetResponseListInputDto input) method.

  • User Avatar
    0
    sukhdeep.dhillon created

    It worked now. thank you

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15