Mashup Builder > Mashups > Viewing a Mashup
Viewing a Mashup
During design time, the mashup is not interactive, events are not triggered, and data services are not executed. You can view an accurate rendering of the mashup in your browser. To view the mashup, click View Mashup. When you view a mashup, a new tab opens and the mashup is rendered in a run-time environment. During run time, you can execute services, trigger events, and interact with your Thing models. Unlike the design environment, the run-time environment provides a more accurate rendering of how your mashup looks and reacts when viewed in a web browser.
You can also view mashups directly using the REST API service. To view a mashup directly, use the following syntax:
<server>—Name or IP address of your ThingWorx server
<port>—Port number
<MashupName>—Name of the mashup entity in ThingWorx
The run time toolbar is not displayed when you view a mashup directly. To switch the toolbar on and off during run time, press CTRL+ALT+F9
You can use the following options in the run-time toolbar:
Show/Hide Log
Displays logs for the mashup during run time. You can use filters to show or hide trace, debug, info, warn, error, and fatal log messages.
Show/Hide Debug Info
Opens the debug dialog box, where you can trace events and debug errors within your mashup.
Reloads the mashup and resets it to the initial view.
Previewing the Mashup Localization
The localization drop-down list controls the language setting of localization tokens used within the mashup. You can preview the look and layout of your mashup in different languages. You can choose one of the following localization tables and options:
Default—The default localization table
zh-CN—Modern Chinese
System—The system localization table
zh-TW—Traditional Chinese
Show [[Tokens]]—Displays the names of Localization Tokens in the mashup.
Previewing the Mashup Resolution
You can change the mashup resolution when viewing a mashup, and then preview the way the mashup appears on different display sizes in a live environment. By default, the mashup size is set based on the available space in the browser window.
Was this helpful?