Article Details
Id:18735
Product:finPOWER Connect
Type:NEW
Version:3.04.02
Opened:28/10/2021
Closed:28/10/2021
Released:02/12/2021
Job: J027662

HTML Widgets; New widget.UI.SelectDocumentManagerFile method

A new widget.UI.SelectDocumentManagerFile method has been added.

This is used internally in the upcoming FileUpload control to allow the User to select from a list of Document Manager files.

This method takes the following parameters:

  • sourceType
  • sourceId
  • options
    • fileTypes (can be blank or the special string "[IMAGES]")
  • callback

The callback function is passed the name of the selected file, e.g.:

widget.UI.SelectDocumentManagerFile("Client", "C10000", {}, 
  function (fileName) {
    window.alert(fileName);
  }
);