A guide to creating a graphic and template set to demonstrate the use of 'User Input Node'
Caveat: You need to have Template Editor permissions. It may be sensible when naming new hooks, new templates or new template sets to add "TRAINING" as part of the name, to differentiate your work from 'live' production work. Do consider any 'Delete' actions carefully - is it your work you are deleting?
You need to have completed the tutorial 'User Input Node' functionality.
Using Ignition Post Win Client as a Template Editor
Select the main tab DATA
Select the sub-tab DATA PROVIDERS
Ensure XMLTeam is selected
Select the sub-sub-tab SCHEMAS & SEARCHES
Below SCHEMAS, select the 'soccer event-report' schema
Now ensure the 'USER INPUT DATA' sub-tab is selected in the right-hand pane
The tutorial 'Creation of hooks using the 'User Input Node' functionality' will have created some user input nodes.
Check the following are in place:
Node Label: Commentator Name
Node Name: commentator
Input Type: Options
Node Label: Validate
Node Name: validate
Input Type: Bool
'Default Value': false
Node Label: Home Team Kit
Node Name: homekit
Node Label: Away Team Kit
Node Name: awaykit
Node Label: FA Colour Strip
Node Name: facolour
Select the sub-tab SCHEMAS & HOOKS
Data Provider: XMLTeam
Schema: soccer event-report
Sample Data: SampleData/soccer event-report/Southampton v Leicester City.xml
Select the main tab TEMPLATES and ensure 'All Templates' is selected
From within the 'Search Template' pane, click 'Add new Template to All Templates'
Within the TEMPLATE sub-pane, rename: User Input Node Hooks
In the right-hand side sub-pane BROWSE SCENES:
Ensure Renderer Domain = Viz
Ensure Graphics Hub = Post
Click 'Refresh Thumbnail and Scene Controls'
Click 'Click button to make this the current main scene'
In the sub-tab CONTROLS, below 'SCENE CONTROL OBJECTS':
Choose Scene: 3_Line
Below the main pane, add a 'Data Selector' control
Set Schema to: soccer event-report [XMLTeam]
Add a 'Data Item' control
Set the Hook to: User Input Node Hooks.Commentator
TICK 'Show To User'
BIND the 'Data Item' template control to the scene control object: 'RichText 1001 Full_1'
Set the Hook to: User Input Node Hooks.Homekit
BIND to 'RichText 1002 Full_2'
Set the Hook to: User Input Node Hooks.Validate
BIND to 'RichText 1003 Full_3'
Below the main tab 'TEMPLATE SETS', above the left-hand pane for 'Search Template Sets', click the 'Add' button
Rename: User Input Node Hooks
Below the sub-tab 'TEMPLATES', below 'Search Templates (i.e. on the right-hand side)
Highlight 'User Input Node Hooks' and click 'Add Template To Template Set'
Below the sub-tab SUBSETS, below SUBSET, from the available fields within the 'User Inputs' sub-pane, TICK the following:
Home Team Kit
Away team Kit
FA Colour Strip
Using the Web Client to view your new template. Remember to Login as a Template Editor, as the template is not yet published.
In the 'Templates' pane, select the set: User Input Node Hooks
Ensure the sample data is selected, i.e. SampleData - soccer event-report - Southampton v Leicester City
Select the 'User Input Node Hooks' template
In the 'Templates' pane, from within the 'User Input Data' sub-pane, change the following:
Commentator Name, from the options select: Steve Wilson
Validate, TICK --- this makes the boolean 'true'
Home Team Kit, home
Away Team Kit, away
FA Colour Strip, RED
Note there is a 'pencil icon' adjacent to each field. Hovering the mouse will show 'Override'. This is because each of the user input nodes during their creation had the 'Allow Override' TICKED.
From within the 'User Input Data' sub-pane, click the following:
the 'Override' icon adjacent to 'Commentator Name'
The icon changes to 'Revert to options' and the field empties allowing new text to be entered.
A scenario for when 'Override' may be needed. For an Operator to make edits to a graphic if the 'Commentator Name' is not one of the options entered during the creation of the user input node.
A scenario for the 'Validate' user input node. A condition can be applied to templates included in an automated template set. The condition could be that the template is only used when the condition is met - in this instance when an Operator has changed the boolean setting from 'false' to 'true'.
Information about what version of the strip a team is wearing is not normally provided by the XML data provider, it is also a decision often made only shortly before a game. Here an Operator can choose from the options of a strip. This information is required to ensure relevant graphics (e.g. formation) can reflect the strip being worn. NOTE - The 'FA Colour Strip' can be used to differentiate the background settings for teams for which imagery is not held.