New Parameter for CSV Upload Servlet

This is only applicable if you have custom UI maps that directly call CSVToXMLDataServlet and have a custom function to prepare the data to pass to this servlet.

The servlet was enhanced to include an extra parameter to ensure that the servlet correctly handles non-ascii characters in the file name. The framework provides the method oraFileUploadFromForm to handle preparing the information to pass to CSVToXMLDataServlet. If you have any UI map that uses this method to prepare information to call the CSVToXMLDataServlet, nothing further needs to occur.

However, if you have any custom maps that call CSVToXMLDataServlet and have custom function to prepare the data to pass to the servlet, you will need to adjust the maps.

NOTE: Maps using the oraUploadData attribute to upload a csv file are not impacted.

This parameter accommodates a library change and ensures that files with non-ascii characters are handled correctly.

Steps to enable and configure

Use the UI map query > Additional Information search option to see if you have any custom UI maps that reference csvToXMLDataServlet in the HTML definition.

If so, if the map has a 'form' element that defines action="csvToXMLDataServlet", confirm if the map has a custom function that is invoked by the onClick of the button used to upload an indicated CSV file.

If so, the map must be updated as follows in order to ensure that non-ascii file names are supported:

  • Add the following parameter for the function: <input type="hidden" name="originalFileName">
  • Update the function to populate the originalFileName parameter with the name of the file.