Enables Article selection and ordering. Represents selections as a querystring of Article=GUID&Article=GUID&...
Supported Data Types
custom
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="custom" template="articles_v1_articleOrder" key="Article" width="700" height="300" visibilityPropertyId="" visibilityPropertyValue="" visibilityHideOtherIds="" categoryPropertyId="" typePropertyId="" />
Plugin Configuration C#
var property = new Property
{
Id = "propertyId",
LabelResourceName = "nameResource",
DescriptionResourceName = "descriptionResource",
DataType = "custom",
Template = "articles_v1_articleOrder",
Options = new NameValueCollection
{
{ "key", "Article" },
{ "width", "700" },
{ "height", "300" },
{ "visibilityPropertyId", "" },
{ "visibilityPropertyValue", "" },
{ "visibilityHideOtherIds", "" },
{ "categoryPropertyId", "" },
{ "typePropertyId", "" }
}
};Options
| Name | Description | Default | Options |
|---|---|---|---|
| key | The name of the key when reading/writing enabled values in querystring format. | Article | |
| width | The pixel width of the UI. | 700 | |
| height | The pixel height of the UI. | 300 | |
| visibilityPropertyId | The ID of a property to monitor to control the visibility of this UI. When the value of this property is equal to visibilityPropertyValue, this UI will be shown. | ||
| visibilityPropertyValue | The value of the visibilityPropertyId property that causes this UI to be shown. | ||
| visibilityHideOtherIds | Comma-separated list of property IDs to hide when this UI is shown based on visibilityPropertyId/visibilityPropertyValue configuration. | ||
| categoryPropertyId | The ID of a property that is used to select the article collection category for which articles should be loaded. | ||
| typePropertyId | The ID of a property that is used to select the article type for which articles should be loaded. |