cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1025
Views
10
Helpful
1
Replies

CUIC Show Dependency on Report Definitions

karenhcheng
Level 1
Level 1

Hey guys,

Just wondering whether anyone has figured out a way to show what reports are using a particular report definition? So something like 'Show Dependency Records' in CUCM for example?

The reason for asking is if I want to update a report defintion or remove it I don't seem to have an easy way to see which reports I am potentially affecting.

Regards

Karen Cheng                  

1 Reply 1

karenhcheng
Level 1
Level 1

Solved!!!

SSH to the CUIC box and run the following commands:

run sql select id, name from cuic_data:cuicreportdefinition

run sql select name, reportdefinitionid from cuic_data:cuicreport

Join the 2 bits of data together using the id and reportdefinitionid and hey presto you have a list of report definitions and dependent reports.

Or if you want it joined for you you can use the following command instead:

run sql select rd.name, rp.name, rp.reportdefinitionid

from cuic_data:cuicreportdefinition as rd

inner join cuic_data:cuicreport as rp on rd.id = rp.reportdefinitionid

Karen