Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

MVC Widget Designers: How to work with the sf-lists-selector

« Go Back

Information

 
Article Number000099476
EnvironmentProduct: Sitefinity
Version: 10.x, 11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
In the designer I would like to get and select from all the Sitefinity List content items. Is this possible?
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution
This is the component, that should be used in the DesignerView.{DesignerName}.cshtml
<sf-list-selector
  sf-lists-selector
  sf-master="true"
  sf-multiselect="true"
  sf-provider="properties.ProviderName.PropertyValue"
  sf-selected-ids="properties.SelectedItemIds.PropertyValue">
</sf-list-selector>

In the DesignerView.{DesignerName}.json file the "sf-lists-selector" must be added to the components array:
{
  "priority": 1,
  "components": ["sf-lists-selector"]
}

 
Workaround
Notes
Attachment 
Last Modified Date11/7/2019 12:38 PM