Internal documentation only
This page has been marked as draft.
Active Console - User Command on a multi-row dataview
Related to Copied
When configuring a User Command to capture data from multiple rows of a Dataview, it is best to configure the appropriate Xpaths on your Concatenate options to capture the values from the columns of a row that you’re executing.
Problem Copied
Only a single data is extracted when executing a User-command manually after selecting multiple rows from a Dataview.
Possible Cause(s) Copied
The main cause of this is that you’ve configured your User Command argument options to match the whole Dataview. This then only registers the first value that you’ve initially clicked.
Possible Solution(s) Copied
To retrieve the values from different columns of a row:
- Add the Xpath of your sampler to match the whole dataview.
- Configure the type as a script.
- Add the script that you wish to add the values into.
- On your userCommand options, target the corresponding Xpaths of the columns you wish to extract.
Doing so should give you the following output:
Related Articles Copied
[Guide:
-
Replace [Product] in the title with Geneos, OP5 Monitor, Opsview, ITRS Analytics, Uptrends, Capacity Planner, and other products by and or related to ITRS Group.
-
Please include pictures and attach the XML setup, if possible.
-
If you are linking to a documentation link, replace the version with “current.” For example, in https://docs.itrsgroup.com/docs/geneos/5.10.0/index.html, replace 5.10.0 with “current.” This will ensure that the URL is linked to the latest documentation.
-
If you include a block of code, an info/warning/error message, or CLI commands please use the ‘Code block’ formatting option above. If it is too long, you may instead go to the article source code and enclose it with
your text here. -
On the right-side panel:
- Update the article placement and section to ensure it points to the correct location. (Please, remember to place those FAQ’s that are ONLY for us in CS to be located in the ‘ITRS internal only’).
- Set ‘ITRS Support’ as the author of the article.
- Select the appropriate visibility option based on the intended audience: choose ‘Agents and Managers’ for ITRS visibility, or ‘Everyone’ if the content should be visible to clients.
- In the “Labels” section, remove any products that are not relevant to the troubleshooting guides, keeping only the label for the related product and the ‘Answerbot’ label.
- Leave the ‘open for comments’ ticked.
- Make sure you change the Template to Troubleshooting.
-
Don’t forget to delete all of the [Guide: xxx] sections from this template.]