Skip to main content
1-Visitor
October 25, 2018
Question

CLI: --showReferences results in MKS124819: Invalid option: "showReferences"

  • October 25, 2018
  • 1 reply
  • 1898 views

I simply want to list all objects (queries, charts, reports) that reference my dashboards...  Anyone!?

1 reply

5-Regular Member
October 30, 2018

The documentation is wrong for this command. The --showReferences option will not work. You also can't see the References column for Dashboards in the GUI.

 

 

 

The only way I've found to get a list of the queries, reports, and charts used in a dashboard is to look at the Layout.  You can look through this in the GUI, but I find it easier to search the xml directly.

 

You can get the XML output for the dashboard layout with this command:

im viewdashboard --showlayout [dashboard name]

Within the XML, search for QueryLink, ReportLink and Chart.  You may also find references in a URLLink.

For example:

 

 <Chart filtered="True" name="Open Items - Team"/>

 <QueryLink filtered="True" name="My Open Items"/>

 <URLLink
 href="http://[server]:[port]/im/ci.rundashboardview?mks.webapp=default&amp;selection=__id1864"
 text="Global ILM Dashboard" textStyle="Hyperlink"/>

 <ReportLink filtered="True" inline="True"
 name="My Open Items"/>

 

AnitaD1-VisitorAuthor
1-Visitor
October 30, 2018

I appreciate the reply, awalsh.  Still, can't help but hope that the CLI commands that indicate that references can be outputted (per the documentation) will one day work.