When defining a user command, you can configure arguments to use userInput and choose the xPathOptions option. The xPathOptions takes an XPath which will be evaluated when users run the command from the Active Console. |
The XPath provided should end with a property, which may often be the name (e.g. /@name) or cell value (e.g. /@value).
From the documentation:
If the XPath provided is not correct, the command may show the message " Error: The path did not return variants [<Xpath>]"
For the XPath Editor, you can drag the Property box from the toolbar to the end of XPath, and then edit the box for the XPath property required. The XPath Editor will then show the text representation of the XPath.
For example, the XPath below shows the name of all Managed Entities that are in Critical severity.
The right-click command would display the following dialog when selected.
The command configuration in XML format has been attached for your reference.
|
|
Further Reading
|
Comments
0 comments
Please sign in to leave a comment.