linkIsEnabled Usage Example
Follow along with these steps to see how a link to the System workspace was created using
the
linkIsEnabled symbol. This example tests the value of the Product cell in the
selected row to determine whether or not to offer the link on that row.
-
Open the Managed System Status workspace in the Navigator Physical view: Click
Enterprise to open the default workspace; right-click
Enterprise and click Workspace > Managed System Status.
-
Right-click a row in the Managed System Status table and click Link To >
Link Wizard.
-
Create a new link, name it
System Details
, select a link type of Relative, and target theWindows Systems workspace.
- Click Next to go to the Workspace Link Wizard - Parameters.
-
Click
thelinkIsEnabled row. The Expression box reads true.
- Click Modify Expression.
- In the Expression Editor, click Clear, and then click Symbol.
-
In the Symbols list, select
Product and click OK. The expression is displayed as
$kfw.INODESTS:ATTRIBUTE.INODESTS.PRODUCT$
. -
Click Operator, select
Equal and click OK to see the == operator.
-
Type "NT" at the end of the expression, which should then read,
$kfw.INODESTS:ATTRIBUTE.INODESTS.PRODUCT$ == "NT"
. -
Click Evaluate. If the row from where you started the Link Wizard has
NT
in the Product column, the test will betrue; otherwise, it will befalse
. -
Click Finish.
Click the
link indicator in one of the NT rows to open the Services workspace for that monitoring agent. Note that you can disable the link indicator for invalid rows by clearing
Link Indicator Always Enabled.