NOTE: To check what your dynamic module item’s type is, perform the following:
TypeResolutionService.ResolveType("<Type of dynamic items>");
Copy the type between the quotes and paste it in the prompt window.
You can add this field control with selector to an already existing dynamic module or you can create a new module which uses it.
When you create a content type for the module, in Step 4 of procedure Create a dynamic content type, you must add the fields for the content type. While performing procedure Create custom fields, you can add a field control with selector to a dynamic module in the following way:
NOTE: To check the type of your field control, open the project in Visual Studio and open <your field control with selector for dynamic items>.cs file. You see a commented summary, where the type of your field control appears.
/// A simple field control used to select a dynamic items.
/// Use the path to this class when you add the field control in Sitefinity CMS Module Builder
In this example SitefinityWebApp.Sitefinity.MyNewDynamicItemsFieldControlSelector is the type of your field control with selector for dynamic items.
You can then navigate to Content » <Your module> and create your item. You will see that a new field with selector is added.
Back To Top