Problem/Motivation

Exported results files extension, filename, and content type should be customizable.

Proposed resolution

Update export file handling to track export options

Remaining tasks

  • Pass export options to file generator
  • Update batch processing to include export options.

User interface changes

None

API changes

  • \Drupal\yamlform\YamlFormSubmissionExporter::getFilePath(YamlFormInterface $yamlform)
  • \Drupal\yamlform\Controller\YamlFormResultsExportController::index()
  • \Drupal\yamlform\Controller\YamlFormResultsExportController::batchFinish()

Notes

Might use YAML form state API to track file name and/or export options

Development Notes

  • Branch Name: 2710929-yaml-form-rework-export-file-handling
  • Patch Name: yaml-form-rework-export-file-handling-2710929-XX.patch
  • Commit message: Issue #2710929: Rework export file handling

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Issue summary: View changes

Update developer notes

  • jrockowitz committed 648218f on 2710929-yaml-form-rework-export-file-handling
    Issue #2710929: Rework export file handling
    
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new14.28 KB

  • jrockowitz committed 648218f on 8.x-1.x
    Issue #2710929: Rework export file handling
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.