cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Participant

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

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

Tags (1)
2 REPLIES 2

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

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"/>

 

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

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.

Announcements