Skip to main content
January 21, 2022
Question

In a!fileUploadField , I gave validation in sucha way that it allows only .xlsx format..,now my other requirement is that ,,,if the uploadedexcel doc is empty(if no data exists in cells),want to show no data available message how to acive this

  • January 21, 2022
  • 2 replies
  • 0 views

In a!fileUploadField , I gave validation in sucha way that it allows only .xlsx format..,

now my other requirement is that ,,,if the uploadedexcel doc is empty(if no data exists in cells),want to show no data available message how to acive this

    2 replies

    harshitb6843
    January 21, 2022

    Hi there,

    For checking the file contents you need to upload the file first. So that will be a two-step process. Then you can use the excel tools plugin to parse the excel file. 

    stewart.burchell
    January 21, 2022

    To follow on from this you could make the User Experience synchronous by uploading the file, checking it's content and, if empty,  looping back to the same User Input Task interface (remembering to delete the invalid uploaded document when you finally have a valid document uploaded, just to keep your environment clean)