Is there a way to refresh all Contributor Views of all users globally?

Post Reply
Paul-TM1
Posts: 39
Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Is there a way to refresh all Contributor Views of all users globally?

Post by Paul-TM1 » Wed Jul 18, 2018 1:55 pm

Hi All,
I have changed a subset in a view and that does not reflect on all users in contributor. When users rest views, changes appear. Is there a way to reset all views to all users globally?
One way is to remove all blb files? Once when I removed blb files, JavaScript errors popped and did not look like it fixed it.
Can someone give a good solution?

Thanks,
Paul.

User avatar
Elessar
Posts: 136
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Location: Russia

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Elessar » Wed Jul 18, 2018 2:23 pm

Hi,

There is a little (0,1%) chance TM1 App Maintenance utility can do this, I didn't check: https://www.ibm.com/support/knowledgece ... stool.html

If not:
1) Kick all the users (or stop the server)
2) Delete the users' views in folders <DATA folder>\<Namespace>\<User>\<your cube name>}vues\<changed view name>_<app's guid and other garbage>.vue
2) Start the server (if stopped)
Sorry for my English ;)

Paul-TM1
Posts: 39
Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Paul-TM1 » Thu Jul 19, 2018 6:38 pm

Thanks Elessar, thanks for the reply.
TM1 maintenance utilty does not seem to have the capability and secondly, deleting all views and restarting is not possible as our server takes about 5 hours to restart.

I am still looking for a solution.

Thanks,
Luther.

Wim Gielis
MVP
Posts: 1747
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0
Excel Version: 2016
Location: Brussels, Belgium
Contact:

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Wim Gielis » Thu Jul 19, 2018 6:59 pm

Paul-TM1 wrote:
Thu Jul 19, 2018 6:38 pm
deleting all views and restarting is not possible as our server takes about 5 hours to restart.
The model is operating 24/7 ? No time left for maintenance ?
Is this expected - 5 hours seems a long time (assuming the use of persistent feeders) ?
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 105 TM1 articles and a lot of custom code
Newest blog article: Looping over input files

Paul-TM1
Posts: 39
Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Paul-TM1 » Thu Jul 19, 2018 7:30 pm

Thanks Wim. We have a weekly maintenance when the server restarts. We do not have persistent feeders (PF) as one of the feeders is an issue and we totally lose the benefit of PF. But I was looking for something when the server is up.

Thanks,
Luther.

Wim Gielis
MVP
Posts: 1747
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0
Excel Version: 2016
Location: Brussels, Belgium
Contact:

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Wim Gielis » Thu Jul 19, 2018 7:45 pm

If this change is a one-off, why don't you either:
- do it just before the server starts again
- if not possible, introduce downtime of, say, 6 hours somewhere during the week. Is the model so critical that a planned downtime to change the functionality is not allowed ?

Or is this change not a one-off ?
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 105 TM1 articles and a lot of custom code
Newest blog article: Looping over input files

User avatar
ykud
Posts: 32
Joined: Sat Jan 10, 2009 10:52 am
Contact:

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by ykud » Fri Jul 20, 2018 12:34 am

You don't need to restart server to refresh private views (or make them really disappear once you removed the .vue files), just force re-login for users, either log them out or delete views at night, users will relogin in the morning to find it all updated :)

We have this working without any issues for a couple years.

Paul-TM1
Posts: 39
Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Is there a way to refresh all Contributor Views of all users globally?

Post by Paul-TM1 » Fri Jul 20, 2018 2:25 pm

Thanks Ykud.
Contributor views are not private views. The subsets change from time to time.
I thought deleting the blb files will do that trick. Is that not true?

I have disconnected all the active users this morning if not, I will delete the vue files. Thanks for the ideas.

Thanks,
Paul.

Post Reply