Reading Hotword Data at Runtime
If you want to use Hotword Connection at runtime, you will need to:
|
|
|
If you want to let your users swap sources,
you must provide a Change
Source button from the TB
Connection Catalog.
|
|
If you want to provide a glossary at runtime, copy in a Glossary button from the TB Connection Catalog. |
Runtime Read Options:
The From Database setting indicates you want hotwords and definitions read from the source database(s). If you select this option, the TBC_readHotword book property is set to database. With this setting, you must include your source database(s) and the .tcn file with your installation.
The From Properties setting indicates you want hotwords and definitions read from book properties. If you select this option, the TBC_readHotword book property is set to properties. If you select this option, be sure to use the Create Properties tool after you have generated your database(s). If you have more than one source you must include the .tcn file with your installation.
How Hotword Connection Works At Runtime
When users click on a defined hotword, Hotword Connection will display its definition. You can also copy in a button from the TB Connection catalog objects to show a Glossary of all hotwords, and another button to change sources (if applicable).
By default, popup definitions will not display for any hotword that has a hyperlink and/or action. To make a definition display for a hotword that has hyperlinks or actions, set a forceDefinition user property of the hotword to true.