Viz Channel Branding User Guide
Version 5.2 | Published June 05, 2024 ©
External Data Sources
Channel-specific general settings are accessed from the cog wheel icon. Select the Channel settings tab.
The External Data Sources settings group comprises:
Database Connections
This section describes the database connections interface, listing all available database connections.
-
New connection (first button): Allows you to manually enter a connection string. Clicking the New connection button adds a new entry to the list of available connections.
-
Delete connection (second button): Deletes the selected connection.
-
Build connection string (third button): Allows you to build a connection string. Clicking the Build connection string button opens a dialog box that allows you to set all parameters needed in order to successfully connect to your source.
Creating Database Connections
Before populating page content from database look-ups you must first configure the connection to the external data source. You can then proceed with mapping according to your data source.
To configure the connection to an external data source
-
In the Settings dialog, click Database Connections.
-
Click New.
-
Enter a name for the connection.
-
Enter the connection string provided by your administrator.
-
Click OK.
To map from a Microsoft Excel spreadsheet
-
Perform the procedure To configure the connection to an external data source above.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
For Connection Type, select Microsoft Excel.
-
Click the ellipsis to select the desired Excel file.
-
Enter the database's username and password.
-
Click the Test Connection button.
-
If the test is successful, click OK.
Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DBQ=<filepath>;UID=<username>;PWD=<password>
To map from a Microsoft Access database
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
For Connection Type, select Microsoft Access (mdb, accdb).
-
Click the ellipsis to select the desired Access Database file.
-
Enter the database's username and password.
-
Click the Test Connection button.
-
If the test is successful, click OK.
Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=<filepath>;DefaultDir;DriverId=
25
;FIL=MS Access;MaxBufferSize=
2048
;PageTimeout=
5
;UID=<username>;PWD=<password>
To map from a Microsoft Access text
Preliminary setup:
-
Create a folder for the text file database, for example C:\Channel32DB.
-
In the folder, create two files, such as Channel32DB.txt and Schema.ini.
The structural details for the Schema.ini file can be found at: -
In Channel32DB.txt enter a database header for mapping.
-
In Schema.ini:
-
[v-ind.txt]: Name of txt file database.
-
Format=TabDelimited: This example uses TabDelimited.
-
ColNameHeader=True: If using a header (recommended), set to True.
-
Note: Another option is not to use a header, in which case you set this parameter to False; the column mapping will then be F1, F2, F3 and F4.
Build connection string:
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click the Build Connection String button.
The DB Connection window is displayed:
-
For Connection Type, select Microsoft Access Text (csv, txt).
-
Click the ellipsis to select the folder of the desired Access Text file.
-
Enter the database's username and password.
-
Click Test Connection.
-
If the test is successful, click OK.
Driver={Microsoft Access Text Driver (*.txt, *.csv)};DBQ=<folderpath>;Extensions=asc,csv,tab,txt;UID=<username>;PWD=<password>
To map from a Microsoft SQL server database
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
In Connection Type, select ODBC Driver 17 for SQL Server.
-
Enter the database's server name, using the following format: <hostname>:<port> or <IP address>:<port>.
-
Enter the database's name.
-
Enter the database's username and password.
-
Click Test Connection.
-
If the test is successful, click OK.
Driver={ODBC Driver
17
for
SQL Server};Persist Security Info=True;Mode=ReadWrite;SERVER=<hostname>:<port>;DATABASE=<name>;UID=<username>;PWD=<password>
To map from a MySql database version 5.1
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
For Connection Type, select MySQL ODBC (5.1).
-
Enter the database's server name, using the following format: <hostname>:<port> or <IP address>:<port>.
-
Enter the database's name.
-
Enter the database's username and password.
-
Click Test Connection.
-
If the test is successful, click OK.
Driver={MySQL ODBC
5.1
Driver};SERVER=<hostname>:<port>;DATABASE=<name>;USER=<username>; PASSWORD=<password>
To map from a MySql database version 8.0 using Unicode
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
For Connection Type, select MySQL ODBC Unicode (8.0).
-
Enter the database's server name, using the following format: <hostname>:<port> or <IP address>:<port>.
-
Enter the database's name.
-
Enter the database's username and password.
-
Click the Test Connection button.
-
If the test is successful, click OK.
Driver={MySQL ODBC
8.0
Unicode Driver};SERVER=<hostname>:<port>;DATABASE=<name>;USER=<username>; PASSWORD=<password>
To map from an Oracle database
-
Perform the procedure Configure the Connection to an External Data Source.
-
Click Build Connection String.
The DB Connection menu is displayed:
-
For Connection Type, select Oracle in OraDB21Home1.
-
Enter the database’s server name, using the following format: <hostname>:<port> or <IP address>:<port>.
-
Enter the database’s username and password.
-
Click Test Connection.
-
If the test is successful, click OK.
DRIVER={Oracle in OraDB21Home1};SERVER=<hostname>:<port>;UID=<username>; PWD=<password>
Update Service
Update Service is an option that uses your own custom web service for page content filling. Update Service settings are per channel settings. In addition you may define separate update service settings per template.
When configured and enabled on one or more templates, the Update Service prompts Media Sequencer (MSE) to send an XML Payload to a custom web service when a Page is pre-queued for triggering.
The web service can modify the content of the payload and send it back. When Media Sequencer Engine receives the payload parses it and puts the data into the page’s tab field.
This could typically be used for sport results or latest headlines from a feed. Since it relies on a custom web service, the solution can be tailored. This update service is not an existing server solution, it is a path for external modules to be able to integrate and function with Viz Channel Branding and Media Sequencer.
Timeout
A timeout of N seconds may be set on the available actions (Take and Preview).
This is to ensure that a reply is sent back within the configured timeout (default is 5 seconds) for a given action.
If no reply is received within the timeout, the action has not been sent/issued, even though a reply will be received later.
See Also