Use of "}" in user defined cubes to hide in standard display

Post Reply
jed
Posts: 62
Joined: Wed Sep 02, 2009 11:33 am
OLAP Product: TM1
Version: PA 2.0.9.4
Excel Version: 2016
Location: Australia

Use of "}" in user defined cubes to hide in standard display

Post by jed »

I'm considering prefixing a number of my system type cubes (assumptions, parameters etc) with "}" so that they are only displayed when "Display Control Objects" is turned on.
There's no reason to use security to prevent the display of these cubes to users but it would be nice to have them not displayed by default as some users tend to freak out when presented with too many cubes.

I realise that TM1 prevents me from using symbols in a cube name when creating cube in perspectives but I can rename the cube in the data directory (haven't tested whether it lets me use symbols in cube names when creating in TI).

My question is....has anyone done this before and are there any adverse consequences of doing this??
Alan Kirk
Site Admin
Posts: 6645
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Use of "}" in user defined cubes to hide in standard display

Post by Alan Kirk »

jed wrote:I'm considering prefixing a number of my system type cubes (assumptions, parameters etc) with "}" so that they are only displayed when "Display Control Objects" is turned on.
There's no reason to use security to prevent the display of these cubes to users but it would be nice to have them not displayed by default as some users tend to freak out when presented with too many cubes.
True... but if I had the feature available (it came in with 8.3) I'd probably be inclined to start training users to use Applications rather than the full list. It's an option to consider anyway.
jed wrote:I realise that TM1 prevents me from using symbols in a cube name when creating cube in perspectives
You can't delete them via the GUI either. (You can with TI.)
jed wrote: but I can rename the cube in the data directory
It'll probably work but I wouldn't recommend it. Better to create them through the GUI or TI to make sure that they're correctly registered with the server and the relevant system cubes.
jed wrote:(haven't tested whether it lets me use symbols in cube names when creating in TI).
It will; that was the method that I used in the code that I wrote for Jim in the Tracking TM1 Usage thread.
jed wrote:My question is....has anyone done this before and are there any adverse consequences of doing this??
Weeelll... I did it with the example in the thread above. However that was a system monitoring cube, and even then I put a comment in mentioning that users of the code might want to consider changing the name. I've also seen some third party tools which create cubes for their own use that start with a } character. Again, though, these were system-related; they didn't store data. I haven't done it with actual data cubes. I have no doubt that it'll work, but I'm not sure I'd recommend it as a good practice most of the time. There's always a remote possibility that a future release of TM1 will either appropriate one of the names that you use for its own use, or lock down the system cubes more tightly.

You'll be able to do it (at least on any current version), but I wouldn't. It's up to you, though...
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Alan Kirk
Site Admin
Posts: 6645
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Use of "}" in user defined cubes to hide in standard display

Post by Alan Kirk »

Alan Kirk wrote: You'll be able to do it (at least on any current version), but I wouldn't. It's up to you, though...
Oh, one other option to consider; start all of your "support" cube names (the ones that users don't need to browse) with a "z". They'll still appear in the complete cubes list, but at least they'll be at the bottom, out of the way. And out of sight is out of mind...
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
jed
Posts: 62
Joined: Wed Sep 02, 2009 11:33 am
OLAP Product: TM1
Version: PA 2.0.9.4
Excel Version: 2016
Location: Australia

Re: Use of "}" in user defined cubes to hide in standard display

Post by jed »

Interesting thoughts..I'm still undecided. My concerns would also be around Cognos changing something with system cubes in the future....
maybe I'll just prefix my system type cubes with a z to keep them all at the end of the list.
lotsaram
MVP
Posts: 3698
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Use of "}" in user defined cubes to hide in standard display

Post by lotsaram »

Is there any requirement for users to be able to read or writ to your system cubes?

If users don't have at least read access to the cubes they won't be able to see them, simple as that.
jed
Posts: 62
Joined: Wed Sep 02, 2009 11:33 am
OLAP Product: TM1
Version: PA 2.0.9.4
Excel Version: 2016
Location: Australia

Re: Use of "}" in user defined cubes to hide in standard display

Post by jed »

lotsaram wrote:Is there any requirement for users to be able to read or writ to your system cubes?

If users don't have at least read access to the cubes they won't be able to see them, simple as that.
errr well that's obvious....I think you're missing the point here.
Paul Segal
Community Contributor
Posts: 312
Joined: Mon May 12, 2008 8:11 am
OLAP Product: TM1
Version: TM1 11 and up
Excel Version: Too many to count

Re: Use of "}" in user defined cubes to hide in standard display

Post by Paul Segal »

I've been using } prefixed cubes for a long time, and not come across any problems related to doing so. Not that, as Alan says, this is necessarily good practice, but it can be done.

Best

Paul
Paul
User avatar
LoadzaGrunt
Posts: 72
Joined: Tue May 26, 2009 2:23 am
Version: LoadzaVersions
Excel Version: LoadzaVersions

Re: Use of "}" in user defined cubes to hide in standard display

Post by LoadzaGrunt »

My question is....has anyone done this before and are there any adverse consequences of doing this??
Yes - for cubes, dimensions, subsets and processes.

I've not come across any problems. As you suggest, keeping to a naming convention that clearly separates your objects from TM1's standard control objects is a good idea.
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Use of "}" in user defined cubes to hide in standard display

Post by Martin Ryan »

jed wrote:
lotsaram wrote:Is there any requirement for users to be able to read or writ to your system cubes?

If users don't have at least read access to the cubes they won't be able to see them, simple as that.
errr well that's obvious....I think you're missing the point here.
I'm missing the point too. Why is security not an option? Seems like the tidiest way to me.

I've tried using } prefixes before and found them annoying for two reasons, 1) as mentioned above, you can't delete them in the front end and 2) also if you want to work with them you have to turn on all the control objects, which can be a pain in the proverbial.

I tend to use "System_" or "z" prefixes.

Cheers,
Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Post Reply