Enables rendering of URL list configuration properties
Supported Data Types
urllist
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="urllist" template="urllist" defaultProtocol="http://" allowedFileExtensions="" allowLocal="false" allowRemote="true" />
Plugin Configuration C#
var property = new Property
{
Id = "propertyId",
LabelResourceName = "nameResource",
DescriptionResourceName = "descriptionResource",
DataType = "urllist",
Template = "urllist",
Options = new NameValueCollection
{
{ "defaultProtocol", "http://" },
{ "allowedFileExtensions", "" },
{ "allowLocal", "false" },
{ "allowRemote", "true" }
}
};Options
| Name | Description | Default | Options |
|---|---|---|---|
| defaultProtocol | The default protocol to show for remote URLs. | http:// | |
| allowedFileExtensions | Comma-separated list of allowed file extensions for local uploads. | ||
| allowLocal | When true and when the configuration supports file embedding, allows files to be uploaded. Local files will be stored using their local URL. | false | true, false |
| allowRemote | When true, allows remote URLs to be linked. | true | true, false |