Module: alfresco/documentlibrary/UploadButton

alfresco/documentlibrary/UploadButton

This is a specialization of the AlfCreateContentMenuBarItem widget that subscribes to metadataChangeTopic publications so that the upload target can be tracked. When the menu item is actioned it will publish a request to a ContentService (or equivalent service) to handle upload actions.
Author:
  • Dave Draper
License:
Source:

Extends

  • alfresco/documentlibrary/AlfCreateContentMenuBarItem

Members

i18nRequirements :object[]

An array of the i18n files to use with this widget.
Type:
  • object[]
Default Value:
  • [{i18nFile: "./i18n/UploadButton.properties"}]
Source:

iconClass :string

Type:
  • string
Default Value:
  • "alf-upload-icon"
Source:

label :string

Type:
  • string
Default Value:
  • "upload.label"
Source:

publishTopic :string

Type:
  • string
Default Value:
  • "ALF_SHOW_UPLOADER"
Source:

Methods

onClick()

Source:

postCreate()

Source: