Configurable Plugin in 10.x multi line string control?

In a plugin in version 8.x you could define the control type for a configurable plugin property.  Wondering the equivalent for the following in 10.x - as of now, it is not an option to specify a "ControlType" property.

ControlType = typeof(Telligent.DynamicConfiguration.Controls.MultilineStringControl)

var assemblies = new Property {
    Id = BadgeConstants.ADDITIONAL_ASSEMBLIES,
    LabelText = "Additional Assemblies.",
    DataType = "String",
    OrderNumber = 1,
    DefaultValue = "",
    DescriptionText = "A csv string containing",
    ControlType = typeof(Telligent.DynamicConfiguration.Controls.MultilineStringControl)
};

Parents
  • Instead of control types, you now specify a template. The platform includes a list of available configurable templates that are listed within Widget and Theme Studio API Documentation under "Configuration Property Templates".  The equivalent to the multilinestringcontrol is the template "string" (which is also the default for string inputs) with configuration for rows (> 1 makes it multiline) and columns.

    Widgets and themes can also reference script files as template names (see the dynamic configuration documentation for more details). As a plugin developer, you can implement ITemplateableConfigurablePlugin to define your own templates that can be used within your plugin.

    Templates are lighter weight and remove the dependency on ASP.Net Server Controls. The default set of templates is much more feature rich than the older property control implementations.

  • Thanks Ben...  How do I configure this for rows > 1?

Reply Children