Grass Valley Xstudio Vertigo Suite v.4.10 User Manual
Page 260

Xstudio User Manual
9-37
Linking objects to a data source
The following example shows a world cup poll with five possible choices. Note that Portugal
and Switzerland both have the same number of votes.
While the R
ANK
column indicates that Portugal and Switzerland are tied for 3rd place, in the
U
NIQUE
R
ANK
column Portugal is ranked before Switzerland based on alphabetical ordering.
The T
IE
C
OUNT
is 1 where there is no tie, but is 2 for Portugal and Switzerland who are in a
two-way tie.
Creating a template that retrieves social media content
After defining data sources, snapshots and tickers, the social media content can be used in
a template. In template logic, a single item of data is specified using a data descriptor. This
data descriptor can be used in the property of a control or in the parameter of an Action or
Event.
Figure
demonstrates that the D
ATA
S
OURCE
property of the text box is set to the data
descriptor for the cell that was dragged out of the table:
Data:SocialMedia:Ticker(UserName, 1)
Figure 9-31. Drag & drop to associate a data descriptor with a template control
ChoiceName
Votes
Percent
UniqueRank
Rank
Tie Count
Argentina
347
30
2
2
1
Brazil
529
46
1
1
1
Cameroon
23
2
5
5
1
Portugal
121
11
3
3
2
Switzerland
121
11
4
3
2