Documentation

SELECTOR_OPTIONS

SELECTOR_OPTIONS - parameter of component main.user.selector, containing set of options for passing into selection control popup.

General options

OptionDescription
contextContext that will be used for sorting the recent selected entities (when selecting entities from the same context - raises higher in sort order).
contextCodeTo speed up the fetching of the recent received messages (this option is not used by default). Field value CODE_TYPE in the table b_finder_dest is as follows:
  • for users - U
  • for workgroups - SG
  • for CRM entities - CRM
  • for departments - D
This field is convenient when you select entities of single type only in the selector.


Options for various types of entities

Presently, the following standard entities are supported:

  • abstract groups;
  • users;
  • workgroups and projects;
  • company structure departments;
  • CRM entities (leads, contacts, companies, deals, quotes, products, orders).


  • Abstract groups

    Note: when "Social Networks" module is installed.

    OptionValuesDefaultDescription
    enableAllY/NNOption to select entity "To all employees" (with code UA).
    enableEmptyY/NNOption to select entity "No value" (with code EMPTY).
    enableUserManagerY/NNOption to select entity "To employee's supervisor" (with code USER_MANAGER).


    Users

    Note: when "Social Networks" module is installed.

    OptionValuesDefaultDescription
    enableUsersY/NYOption to select users. The rest of options are available with the value Y.
    userSearchAreasee descriptionUnlimitedSelection area. Values:
    • I - only employees;
    • E - only external users.
    allowUserSearchY/NYOption to search users.
    allowEmailInvitationY/NNOption to add email users when searching by email and no search results (when "Mail" module is installed).
    allowSearchEmailUsersY/NNOption to search email users.
    allowSearchCrmEmailUsersY/NNOption to search email users- CRM contacts.


    Workgroups

    Note: when "Social Networks" module is installed.

    OptionValuesDefaultDescription
    enableSonetgroupsY/NNOption to select workgroups. The rest of options are available with the value Y.
    allowAddSocNetGroupY/NNOption to add workgroups when searching by name and no results.
    enableProjectsY/NNEnables project support (separation by projects and other workgroups).
    sonetGroupsFeaturesee descriptionNot usedLimit by minimal access permission level for workgroups. Supports the value blog - messages, minimal level Minimal level of access permissions for messages when selecting a workgroup. access permissions - premoderate_post (creating messages with premoderatimon).
    socNetGroupsSiteIdSite IDCurrent site IDWorkgroup filtration by site ID.
    landingY/NNSelect workgroups for publication only (when "Sites24" modules is available).


    Departments

    Note: when "Intranet" module is installed.

    OptionValuesDefaultDescription
    enableDepartmentsY/NNUse of department tree (including - for selecting users). Other options are available with value Y.
    departmentSelectDisableY/NYDisabling department selection.
    siteDepartmentIdIDID for current siteRoot department ID with generated department tree.
    departmentFlatEnableY/NNOption to select department without sub-departments.


    CRM entities

    Note: when the "CRM" module is installed.

    OptionValuesDefaultDescription
    enableCrmY/NNOption to select CRM entities, other options are available with value Y.
    crmPrefixTypeSHORT/FULLFULLType of prefix for returned codes of CRM entities SHORT/FULL:
    • for leads: L_/CRMLEAD
    • for contacts: C_/CRMCONTACT
    • for companies: CO_/CRMCOMPANY
    • for deals: D_/CRMDEAL
    • for products: PROD_/CRMPRODUCT
    • for quotes: Q_/CRMQUOTE
    • for orders: O_/CRMORDER
    onlyWithEmailY/NNSearch CRM entities only with specified email.
    returnItemUrlY/NNMake clickable the selected CRM entity.
    enableCrmLeadsY/NNOption to select CRM leads. Other options for leads are available with value Y.
    addTabCrmLeadsY/NNAdds "Leads" tab to selection dialog.
    enableCrmContactsY/NNOptions to select CRM contacts. Other options for contacts are available with value Y.
    addTabCrmContactsY/NNAdds "Contacts" tab to selection dialog.
    enableCrmCompaniesY/NNOption to select CRM companies. Other options for companies are available with value Y.
    addTabCrmCompaniesY/NNAdds "Companies" tab to selection dialog.
    onlyMyCompaniesY/NNSelect only "My companies".
    enableCrmDealsY/NNOption to select CRM deals. Other options for deals are available with value Y.
    addTabCrmDealsY/NNAdds "Deals" tab to the selection dialog.
    enableCrmProductsY/NNOption to select CRM products. Other options for products are available with value Y.
    addTabCrmProductsY/NNAdds "Products" tab to the selection dialog.
    enableCrmQuotesY/NNOption to select CRM quotes. Other options for quotes are available with value Y.
    addTabCrmQuotesY/NNAdds "Quotes" tab to the deletion dialog.
    enableCrmOrdersY/NNOption to select CRM orders. Other options for orders are available with value Y.
    addTabCrmOrdersY/NNAdds "Orders" tab to the selection dialog.


    © «Bitrix24», 2001-2024
    Up