Tracking which user created a view

Post Reply
imanminhas
Posts: 6
Joined: Wed Apr 14, 2010 3:08 pm
OLAP Product: TM1
Version: 9.1
Excel Version: 2003

Tracking which user created a view

Post by imanminhas »

Some of my processes have stopped working - looking at the message log, it seems that someone has created a view using a subset, that my process uses. Message log says "zTempMonthSubset" is being used by a view and cannot be deleted" (the subset is a balance b/f)
Can anybody please help me to track down who created this view and how I can get rid of it??
Many Thanks,
Iman
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Tracking which user created a view

Post by Steve Vincent »

if you have a program that can search for text in files, the easiest way is to search all .vue files in your data directory for the name of the subset. i have a program that can do that but for various reasons i'm not able to share. as long as the output includes the filepath, that will then tell you the user ID of who has used the subset.
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Tracking which user created a view

Post by Steve Rowe »

Also note that the server is not 100% reliable in this area. It's quite possible to have this error when you build and delete the view and subset within the TI process. It's worth checking is you cen delete the subset manually through the server explorer before you go hunting for a view.
Cheers
Technical Director
www.infocat.co.uk
Alan Kirk
Site Admin
Posts: 6667
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: Tracking which user created a view

Post by Alan Kirk »

Steve Rowe wrote:Also note that the server is not 100% reliable in this area. It's quite possible to have this error when you build and delete the view and subset within the TI process. It's worth checking is you cen delete the subset manually through the server explorer before you go hunting for a view.
I'd add to that; there are occasions when you yourself may get a lock on a subset, usually if you've examined the view at some point. The server will sometimes incorrectly report that the subset can't be deleted but in reality all you need to do is restart your client session (as in, bounce Excel completely) and you can then delete it.

To get around this issue we always assign a unique name to subsets which are built using a TI; our chore control cube includes a cell indicating how many times a chore has been run and increments it with each run. The subsets are then named BaseName_1, BaseName_2 etc. which ensures that we never have a problem with them being locked and interfering with a future run of the chore.
"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.
Post Reply