IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
This tutorial demonstrates how to add a Events selector in a Feather widget's designer view.
PREREQUISITES: You created at least one event item, so that the selector can use it. For more information, see Events.
1
DesignerView.<YourView>.json
JSON
DesignerView.YourView.json
scripts
designerview-<yourview>.js
.js
DesignerView.<YourView>.cshtml
You can use the sf-selected-item and sf-selected-item-id attributes to access the selected value. The values of the attributes are scope properties that you must added in your widgets controller:
sf-selected-item
sf-selected-item-id
If you enabled multiple selection of items, add sf-multiselect attribute. Then you must use the sf-selected-items and sf-selected-ids attributes instead of sf-selected-item and sf-selected-id.
sf-multiselect
sf-selected-items
sf-selected-ids
sf-selected-id
For more information on multiple selection of items, see Feather: Use multiple 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.
sf-provider
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important