Change the active organization

A combobox containing all available organizations Organizations available. The user can set an organization as active by selecting it.

Further information on active and inactive organizations active and inactive organizations can be found at Authentication and authorization in the BPC.

Alternatively, the Account action changeOrganisation can also be used.

Configuration

Example configuration
{
    "label"                      : "", (1)
    "labelIconCls"               : "x-fal fa-users", (2)
    "confirmSelection"           : false, (3)
    "confirmSelectionText"       : "CORE_ACCOUNT_PLUGIN_ORGANISATION_CHANGE_CONFIRMATION", (4)
    "tooltip"                    : "CORE_ACCOUNT_PLUGIN_ACTIVE_ORGANISATION_SELECTOR", (5)
    "width"                      : 200, (6)
    "disableActiveOrganisations" : true, (7)
    "resetUrlOnChange"           : false, (8)
    "selectedOrganisationTpl"    : "{name}", (9)
    "organisationListItemTpl"    : "{name}", (10)
    "organisationFilter"         : [], (11)
}
1 Label that is displayed in front of the combo box. Language keys can be used at this point.
2 Definition of the icon that is displayed before the combo box.
3 If true, then after selecting an organization, a dialog is displayed in which the user must confirm the setting of the active organization.
4 Text that is displayed in the dialog to confirm the change of organization. Language keys can be used here.
5 Text that is displayed in the tooltip on the combo box. Language keys can be used here.
6 Width of the combo box in pixels.
7 If true, active organizations are deactivated in the selection list.
8 If true, the user is redirected to their start page when changing the organization. Otherwise, the current page is reloaded. However, it is possible that the new organization does not have permission to see this page. In this case, a corresponding error message is displayed.
9 Template for displaying an active or selected organization.
10 Template for displaying an organization in the selection list. This does not affect the icon.
11 Optional filters for the organizations. For the structure of filters, see ExtJS Filter Documentation (filterFn is not supported)

Keywords: