Skip to content

(Use case) How to embed a second visualization (ex. mappSafety)

Stephan Stricker edited this page Oct 1, 2020 · 1 revision

Requirements

  • Automation Studio 4.7
  • mappView 5.10

Description

When you try to embed a second mappView visualization via the web control widget an error will be generated that you cannot open two HMIs. The solution is to define a mappView page that points directly to the second mappView visualization. Note that the embedded HMI will always inherit the theme of the host HMI.

Image

Implementation

Define a new page in your mappView visualization. Attach the second mappView visualization to an area in the new page by using the assignment type "Visu". Use zoom mode "contain" to make the second HMI fit into the window.

<?xml version="1.0" encoding="utf-8"?>
<pdef:Page xmlns:pdef="http://www.br-automation.com/iat2015/pageDefinition/v2" id="Page2" layoutRefId="Layout01">
  <Assignments>
		<Assignment type="Content" baseContentRefId="NavigationContent" areaRefId="AreaNavigation" backColor="rgba(192, 192, 192, 1)" />
		<Assignment type="Visu" baseContentRefId="mappSafety" areaRefId="AreaMain" zoomMode="contain" />
  </Assignments>
</pdef:Page>
Clone this wiki locally