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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

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

AnitaD
8-Gravel

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

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

2 REPLIES 2
awalsh
17-Peridot
(To:AnitaD)

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

 

AnitaD
8-Gravel
(To:awalsh)

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


Top Tags