Microstrategy Connection Mapping details - Metadata Script
How to get Connection Mapping details using metadata Scripts?
select I.Object_name,I1.Object_name,I2.Object_name,I3.Object_name,I4.Object_name,
from
DSSMDOBJINFO I
inner Join
(SELECT a1.LINKITEM_ID, a1.OBJECT_ID A, a2.OBJECT_ID B, a3.OBJECT_ID C, a4.OBJECT_ID D, a5.OBJECT_ID E FROM
(((DSSMDLNKITEM a1
INNER JOIN DSSMDLNKITEM a2
ON a1.LINKITEM_ID=a2.LINKITEM_ID)
INNER JOIN DSSMDLNKITEM a3
ON a1.LINKITEM_ID=a3.LINKITEM_ID)
INNER JOIN DSSMDLNKITEM a4
ON a1.LINKITEM_ID=a4.LINKITEM_ID)
INNER JOIN DSSMDLNKITEM a5
ON a1.LINKITEM_ID=a5.LINKITEM_ID
WHERE a1.LINK_ID='Connection Mapping Link ID (Object ID)' AND
a1.PROJECT_ID='0000000000000000000000000000000000000000' AND
a1.OBJECT_TYPE=32 AND
a2.OBJECT_TYPE=34 AND
a3.OBJECT_TYPE=29 AND
a4.OBJECT_TYPE=31 AND
a5.OBJECT_TYPE=30) ID
on I.Object_id=ID.A
inner join DSSMDOBJINFO I1
on I1.Object_id=ID.B
inner join DSSMDOBJINFO I2
on I2.Object_id=ID.C
inner join DSSMDOBJINFO I3
on I3.Object_id=ID.D
inner join DSSMDOBJINFO I4
on I4.Object_id=ID.E
Where it will be useful?
- Connection Mapping is very critical element in a multi-tenant architecture
- Using the above Script, we can create a monitor reports
Comments
Post a Comment