Try our conversational search powered by Generative AI!
AI OnAI Off
Jun 27, 2016
Sep 13, 2016
Exposing data
Closed, Fixed
Forms 3.0 hard-coded the use of csv, json, or xml in DataExportingController. (A developer could replace the DataExportingController or override the hard-coded switch implementation.)
Forms 3.1 uses a plugin-approach by populating the appropriate exporter based on mimeType (which each exporter provides).
To use the new DataExporter, use the Forms.UI package, then subclass the DataExporterBase. A new Item is added to the drop-down in View Form Submission.
See a code example at https://github.com/episerver/EPiServer.Forms.Demo/tree/master/Implementation.