java - Cognos SDK to get Database layer information for a data item -
i working cognos sdk last few weeks. can able data item names, expression details cognos xml reports. need database layer information underlying db table , db field info of columns used in reports. there sdk available that? if not, please provide guidance that.
thanks support.
you can query content store database search through raw xml. can useful getting list of reports reference specific data source or column.
here example of querying cognos content store lives on oracle database. replace 'cognos_cs' name of schema have content store saved under.
select cmbase.name objname, cmo.pcmid, cmc.name classname, props7.spec cognos_cs.cmobjects cmo join cognos_cs.cmobjnames_base cmbase on cmo.cmid = cmbase.cmid join cognos_cs.cmclasses cmc on cmo.classid = cmc.classid left join cognos_cs.cmobjprops7 props7 on cmo.cmid = props7.cmid cmo.classid in (10, 37) , upper(spec) '%[sales detail]%' order cmo.pcmid;
Comments
Post a Comment