Page 1 of 1

List of all rules

Posted: Wed Mar 13, 2019 6:53 pm
by CellPutN
Hello everyone,

I know we can easily get a list of all dimensions or cubes using the control objects, but is there a way to get a list of all other types of TM1 object ?

There's no such dimension as }Rules or }Views.

Thanks and have a nice day !
Tim

Re: List of all rules

Posted: Wed Mar 13, 2019 7:22 pm
by PavoGa
Write a TI that uses WilcardFileSearch in the Data folder the instance. Create dimensions as needed to capture the returned objects you wish to catalog.

Put this in a chore that runs regularly to keep those dimensions updated. There may be other methods, but that will do it.

In Planning Analytics, there are dimensions for subsets and views, although they are by dimension and cube respectively.

Re: List of all rules

Posted: Wed Mar 13, 2019 7:23 pm
by Wim Gielis
In PA there are control objects for subsets and views. I mean subsets for a dimension and views for a cube. For rules you might want to look at the }StatsForRules control cube. Or just open up the .rux text files.