This tutorial demonstrates how to add a User selector in a widget's designer view. For more information about users in Sitefinity CMS, see Overview: Users.
PREREQUISITES: To use the selector, must have at least one user created. For more information, see Administration: Create and delete users.
NOTE: For more information on the scripts that you must load, see Feather: List of selectors scripts reference.
To access the selected value, you use the sf-selected-item and sf-selected-item-id attributes. The values of the attributes are scope properties that you must add in your widgets controller:
If you enabled multiple selection of items, you must use the sf-selected-items and sf-selected-ids attributes. For more information on multiple selection of items, see Feather: Use multiple content items selectors.
To select which provider you want to work with, use the sf-provider attribute. The attribute value must be a property in your scope that contains the name of the provider.
Back To Top