A form control for allowing the user to select sites from the Alfresco repository.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Example
{
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: