Extend forms connectors definitions
If you have custom connector and you want it to have settings in the forms detail dialogs. You can achieve this using
Add custom controls to forms section separated for the connectors, by performing the following:
- Create your own class and implement the abstract
- Use the
AddConnectorsSettings method to attach your custom controls to the form dialogs. Use the following sample:
NOTE: Sitefinity CMS supports only the following definition elements as section fields:
IModuleConnectionStatus.ModuleName must be equal.
- Implement the
Sitefinity CMS displays the warning Connection to [Connector Title] is not set or lost. Check your connector settings and try again when the following conditions are met:
- Your connector does not implement the
- The action callback of the
IModuleConnectionStatus.ExecuteIfConfigured method was not executed.
To prevent showing this warning to the Sitefinity CMS user, implement the interface as the following example:
- Register your classes in the following way:
Ordinal property is used to sort the connectors settings.