To view the Command Center in an iFrame, additional settings must be added on the Command Center computer. After you add the additional setting, you can link to individual pages of the Command Center in an iFrame, from a third-party application. For example, to link to the Applications page on the Command Center, add the URL as follows:
<iframe src="http://hostname:port/commandcenter/applications" height="90%" width="90%" id="webConsoleIFrame"></iframe>
where:
hostname is the hostname of the computer where the Command Center is installed
id must be
webConsoleIFrame
Procedure
To the Command Center computer, add the disableSameOrigin additional setting as shown in the following table:
Property
Value
Name
disableSameOrigin
Category
WebConsole
Type
BOOLEAN
Value
true
To hide the Command Center navigation pane and header bar, do one of the following:
To hide the navigation pane and header bar in the iframe and to display them when users access the Command Center directly, add the noFrame=true query parameter to the end of the Command Center URL:
http://hostname:port/commandcenter/app.do?noFrame=true
To hide the navigation pane and header bar in the iframe and when users access the Command Center directly, to the Command Center computer, add the additional settings as shown in the following table:
Additional Setting
Category
Type
Value
bareFrameMode
Hides the navigation pane and the header bar.
WebConsole
BOOLEAN
true
bareFrameNavMode
Hides the header bar.
WebConsole
BOOLEAN
true
Restart the Tomcat services on the Command Center computer.