File Upload

The parameters for FileUpload are:

Name Type Default Values Description
promptText string - - the title shown on the FileUpload element
promptButtonText string - - the label for the file upload call to action
retryButtonText string - - the label for the file replace call to action
confirmationText string - - the label for the file confirmation call to action
confirmButtonText string - - the label for the flow completion call to action
persist boolean true true, false whether the uploaded file should be permanently stored, if set to false any files uploaded will be erased at a later stage

An example of FileUpload markup is:

    <TimelineMessage>
      <FileUpload
        promptText="Could you post a picture of the other vehicle?"
        promptButtonText="Upload Picture" retryButtonText="Replace"
        confirmButtonText="Complete"
        confirmationText="All set!"
      >
        <UploadItem fileType="image/\*" name="vehicle"/>
      </FileUpload>
    </TimelineMessage>