Page 1 of 1
Delete Cube private view with TI
Posted: Wed Jun 29, 2011 3:18 pm
by fbroggi
Hi everybody,
i'd like to know if there is a procecss or if i can create one, to perform a cube private view delete.
Thanks in advice
Federico
Re: Delete Cube private view with TI
Posted: Wed Jun 29, 2011 3:34 pm
by jim wood
For TI to see a view it has to be public. Private views are user specific and stored in the users folder in the data dictionary,
Jim.
Re: Delete Cube private view with TI
Posted: Wed Jun 29, 2011 3:35 pm
by jim wood
If you know what the view is called or if you want to say clear a folder you could create a batch file and execute that from TI,
Jim.
Re: Delete Cube private view with TI
Posted: Wed Jun 29, 2011 6:31 pm
by Alan Kirk
fbroggi wrote:Hi everybody,
i'd like to know if there is a procecss or if i can create one, to perform a cube private view delete.
In addition to Jim's suggestion, if it's a single view and you know both its name and the name of the user, you could also use the ASCIIDelete function to delete the .vue file. The deletion won't be effective until the user logs out and logs back in, though.
The other option is writing an application using the API, but the process would have to be run by the user themselves, with their login; the API can only see the logged in user's private objects, not the private objects of all users. (Not even when you're logged in as an Admin.)
Re: Delete Cube private view with TI
Posted: Fri Nov 14, 2014 11:34 am
by Elessar
Alan Kirk wrote:The deletion won't be effective until the user logs out and logs back in, though.
Alan, thanks much for the "logoff/login" method, this helped me much

I thought it would take effect only after a server restart.
But sometimes it's not enough to just logout from TM1: some sessions can remain in TM1top. In this case you should kick the user in Server Manager.
Re: Delete Cube private view with TI
Posted: Fri Nov 14, 2014 12:39 pm
by Wim Gielis
Elessar wrote:I thought it would take effect only after a server restart.
That's the case for Public views and subsets, Not for private views and subsets, where log out log on is enough.