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 Mailing list selector in a widget's designer view. For more information about mailing lists in Sitefinity CMS, see Mailing lists.
PREREQUISITES: You must have at least one mailing list created. For more information, see Create mailing lists.
DesignerView.YourView.json
JSON
DesignerView.<YourView>.json
scripts
NOTE: For more information on the scripts that you must load, see Feather: List of selectors scripts reference.
designerview-<yourview>.js
.js
DesignerView.<YourView>.cshtml
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:
sf-selected-item
sf-selected-item-id
If you enable 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.
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