Article - CS373025

File upload widget's file name not displayed correctly in ThingWorx Platform after rejecting a selected file due to AllowedFileTypes setting

Modified: 15-Jul-2022   


Applies To

  • ThingWorx Platform 9.1

Description

  • Use File Upload Widget in ThingWorx Mashup
  • Configure AllowedFileTypes for File upload widget say .csv
  • View Mashup and choose a csv file, the csv file name is displayed
  • Choose another file that’s not of type csv, a status message pops up warning the file type is not supported
  • The chosen file name still displays as the previously-selected csv file
  • However, when click upload, it gives warning “No file chosen” which suggests the displaying the csv file name is misleading; that name should be cleared to reflect the correct status - "No file chosen"
This is a printer-friendly version of Article 373025 and may be out of date. For the latest version click CS373025