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 Page selector in Feather widget's designer view.
DesignerView.YourView.json
JSON
DesignerView.<YourView>.json
scripts
designerview-<yourview>.js
.js
NOTE: The designerview-<yourview>.js file must be located inside the ~/Mvc/Scripts/[WidgetName] folder.
~/Mvc/Scripts/[WidgetName]
DesignerView.YourView.cshtml
You can use the sf-selected-item and sf-selected-item-id attributes to access the selected value. If you enabled multiple selection of items, you must use sf-selected-items and sf-selected-ids attributes. For more information on multiple selection of items, see Feather: Use multiple items selectors.
sf-selected-item
sf-selected-item-id
sf-selected-items
sf-selected-ids
The values of the attributes are scope properties that you must add in your widgets controller:
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