NEW3.04.02 · Released 2 December 2021
NEWfinPOWER Connect
Released in
3.04.02
2 December 2021
  1. Opened28 Oct
  2. Closed28 Oct
  3. Released2 Dec
Article 18735 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);
  }
);