beautypg.com

Grass Valley Xstudio Vertigo Suite v.4.10 User Manual

Page 263

background image

9-40

Xstudio User Manual

Linking objects to a data source

Data linking using the poll identifier from a local template variable

A more flexible data descriptor obtains the poll identifier from a local template variable.
Typically, the poll identifier is entered into a control such as a text box. If the control has its
D

ATA

T

ARGET

property set to a local variable such as L:campaignId, whatever is entered

into the control is written to the corresponding local variable.

A data descriptor with a dynamic identifier that is contained in a local variable has the
following form:

Data:Schema:TickerOrSnapshot(L:variable).tableName(columnName, row)

When a template is built using data descriptors of this form, it becomes possible to reuse the
same template for different polls by typing in a different poll identifier in the text box.

Like in the example below, to populate the data table you would first enter a valid C

AMPAIGN

ID in the Data Manager and click G

O

. Next, type in the name of the local variable in place

of the C

AMPAIGN

ID in the Data Manager. Once this has been done it is possible to drag a

cell from the data table in the Data Manager into the location where it will be used.

In the example above, the D

ATA

S

OURCE

property of the text box is set to the following data

descriptor:

Data:SocialMedia:DynPoll(L:campaignId).m_DynPoll(ChoiceName,2).

Field

Description

Data

A prefix used in template logic to indicate a data server variable,
as opposed to a control property or constant.

SocialMedia

The schema name. The schema must have been defined in the
Data Manager (see

“Creating a social media data source” on

page 9-30

).

This manual is related to the following products: