This is a basic function that accepts an array of data and an array of field names (column headers), and spits out a file for download. The two types of files are Excel and CSV. The example is enclosed in a utility class that can contain a number of other functions, but you can just… Read more »