Module: alfresco/forms/controls/SitePicker

alfresco/forms/controls/SitePicker

A form control for allowing the user to select sites from the Alfresco repository.

Author:
  • Dave Draper
License:
Source:

Example

Sample usage:

{
   name: "alfresco/forms/Form",
   config: {
      okButtonPublishTopic: "SITES_PICKED",
      okButtonLabel: "OK",
      widgets: [
         {
            name: "alfresco/forms/controls/SitePicker",
            config: {
               id: "SITE_PICKER",
               name: "site",
               description: "Pick a site, any site",
               label: "Site",
               singleItemMode: true
            }
         }
      ]
   }
}

Members

i18nRequirements :Object[]

An array of the i18n files to use with this widget.
Type:
  • Object[]
Source:

itemKey :string

Overrides the default itemKey to be "shortName"
Type:
  • string
Default Value:
  • "shortName"
Source:

singleItemMode :boolean

Whether to select multiple sites in the picker or just one
Type:
  • boolean
Default Value:
  • true
Source:

Methods

postMixInProperties()

After config has been mixed in, setup the widget model
Source: