Article Size

Article Size is a Newsroom Planner feature that is used for planning articles according to sized specifications.

Making Article Size into a drop down filter in Publication Planner:

Start with adding ArticleSize to the ocProperties part of the configuration:

"ocProperties": [
		"uuid",
		[...]
    "ArticleSize"
	],

Then add it to the articlePropertyMap section:

"articlePropertyMap": {
    "Uuid": "uuid",
    [...]
    "ArticleSize": "ArticleSize"
},

Add / create configuration for selectionsOptions followed by the drop down configuration, in our example we have a dropdown for both Channels and Article Size. The value must match the values of the configuration for the Writer plugin Article Size.

"selectionsOptions": {
    "Channels": {
        "useMultiSelect": true
    },
    "Urval": {
        "useMultiSelect": true
    },
    "ArticleSize": {
        "useMultiSelect": true
    }
},
"selections": {
    "ArticleSize": [
        {
            "name": "Large",
            "value": "large",
            "field": "ArticleSize",
            "checked": false,
            "multivalue": true
        },
        {
            "name": "Medium",
            "value": "medium",
            "field": "ArticleSize",
            "checked": false,
            "multivalue": true
        },
        {
            "name": "Small",
            "value": "small",
            "field": "ArticleSize",
            "checked": false,
            "multivalue": true
        }
    ],
    "Channels": [
        {
            "name": "Naviga News",
            "value": "Naviga News",
            "field": "ArticleMetaChannels",
            "checked": false,
            "multivalue": true
        },
        {
            "name": "IM News",
            "value": "IM News",
            "field": "ArticleMetaChannels",
            "checked": false,
            "multivalue": true
        }
    ]
}

If you prefer to have the article size as buttons, you can leave out the selectionsOptions part.

Last updated