Skip to main content
Skip table of contents

Configuring User Masks

The user masks of shows, groups, stories and elements can be freely configured in XML files. These files can be found in the "masks/" subdirectory. The XML root is called <xml> with nested nodes as described below.

Example
XML
<xml>
	<input name="Title" bcsField="Title" />
	[...]
</xml>

Text

Displays a value as static text.

Example
XML
<text name="ID" bcsField="id" />

Input

Displays a value in an HTML input field.

Format

Format the values from milliseconds to "HH:mm:ss" is possible by setting "timestamp" to the format parameter.

Readonly

Setting readonly to true renders the value in a read-only input form.

Example
XML
<input name="Title" bcsField="Title" />

<input name="Title" bcsField="Time_Start" format="timestamp" />

<input name="Title" bcsField="Title" readonly="true" />

Select

Displays a selection input with custom options.

Readonly

Setting readonly to true renders the value in a read-only input form.

Example
XML
<select name="Start Mode" bcsField="Time_StartMode">
	<option name="Manual" value="Manual" />
	<option name="Relative" value="Relative" />
</select>

Check box

Displays a check box, which can be checked or unchecked, depending on the value of the field being true or false.

Readonly

Setting readonly to true renders the value in a read-only input form.

Example
XML
<checkbox name="Rebroadcast show" bcsField="Rebroadcast" />

<checkbox name="Rebroadcast show" bcsField="Rebroadcast" readonly="true"/>

Image

Uses the value as URL to display an image.

Example
XML
<image name="Cover" bcsField="CoverImageUrl" />

Alternatively uses the value to replace a placeholder in a urlPattern.

Example
XML
<image name="Cover" bcsField="CoverID" urlPattern="http://cdn.images.com/id=%@" />

Player

Displays a prelisten player with controls for markers.

Hint: This control is intended for elements only.

Example
XML
<player />

Speaker Selection

Displays a specialized speaker selection menu.

Note: Available for Show and Element masks only.

Example
XML
<input name="Speaker" format="speaker" />

RTF Editor

Displays a RTF Editor for elements.


Hint: This control is intended for elements with text only.

Example
XML
<rtfeditor />

Data

Displays the raw data of an object. 

Note: This field is intended only to be used during set up of an installation or during a system analysis, because the raw representation of data properties can be confusing for normal users.

Example
XML
<data />

iframe

Displays an external resource in an iframe. The source of the iframe can be static or dynamic.

Static URL

If the URL is set, the iframe immediately loads it.

The embedded resource can use a simple API to read and write data on the current BCS node. See the file masks_template/external_example.html to learn more about the getValue and setValue functions.

XML
<iframe bcsField="Gallery_ID" url="http://gallery-service/select/" />

Dynamic URL

If no URL is set, the iframe assumes the value stored in the bcsField as its URL.

XML
<iframe bcsField="LinkedContentURL" />

External

Displays a button to open an iframe in a pop up window.

The embedded resource can use a simple API to read and write data on the current BCS node. See the file masks_template/external_example.html to learn more about the getValue and setValue functions.

Icon

The icon parameter can be set to any Bootstrap Glyphicon.

Example
XML
<external name="Cover Selection" url="http://gallery-service/select/" bcsField="Gallery_ID" caption="Open Popup" />

Tabs

Tabs can be used to structure the form components in groups.

Example
XML
<xml>
    <tab name="General">
        <input name="Title" bcsField="Title" />
    </tab>
    <tab name="Fades">
        <input name="Duration" bcsField="Time_Duration" format="timestamp" />
    </tab>
</xml>

Filtered Tabs

Tabs can be filtered to be shown for elements of certain classes only.

Example
XML
<tab name="Fades" filter="Class=Audio">[...]</tab>

These filters follow a simple syntax and can contain equal (=), not-equal (!=) and or (|) operators.

Example
XML
<tab name="Fades" filter="Class=Audio|News">[...]</tab>
<tab name="Fades" filter="Class!=Text|Info">[...]</tab>

Note: Do not use spaces to format the syntax.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.