To prevent the TM1p.ini file getting overwritten everytime

Post Reply
Samp
Posts: 4
Joined: Thu Dec 22, 2016 9:21 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2016

To prevent the TM1p.ini file getting overwritten everytime

Post by Samp »

Hi Experts,

I did some search with respect to the subjected topic, but as I couldn't find any relative answers, please let me post this question here.

I need to change some parameters at the TM1p.ini file located at %appdata%. But each time, when the client (Ex: Perspectives) closed after accessing any of the TM1 application, then this file also getting overwritten , which is resetting my added setting.

So do I need to make the changes everytime before accessing any of the TM1 server ?, which could be a weird idea.

And I dont want to make this file as Read-only, as that would prevent me connecting any other servers via perspectives.

Hence please let me know your thoughts, Thanks in advance.
User avatar
Elessar
Community Contributor
Posts: 412
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: To prevent the TM1p.ini file getting overwritten everytime

Post by Elessar »

Hi,
You need to close all the Perspectives and Architect windows before changing the tm1p.ini.
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 10th article - AI has failed TM1 Quiz.
Alan Kirk
Site Admin
Posts: 6647
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: To prevent the TM1p.ini file getting overwritten everytime

Post by Alan Kirk »

Samp wrote: I need to change some parameters at the TM1p.ini file located at %appdata%. But each time, when the client (Ex: Perspectives) closed after accessing any of the TM1 application, then this file also getting overwritten , which is resetting my added setting.

So do I need to make the changes everytime before accessing any of the TM1 server ?, which could be a weird idea.
What you do need to do is accept that this is exactly the way it was designed to work. It's Client/Perspectives/Architect's way of tracking user config changes during a session. (Admin host, window sizes, etc.) The only exception is PreviousAdminHosts which I've noticed can sometimes be a bit iffy.

However it will usually only change whatever the session user has changed, which may include whatever you changed prior to that. What exactly is this magic setting that you're trying to include?
"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.
Samp
Posts: 4
Joined: Thu Dec 22, 2016 9:21 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2016

Re: To prevent the TM1p.ini file getting overwritten everytime

Post by Samp »

Elessar wrote:You need to close all the Perspectives and Architect windows before changing the tm1p.ini.
Thanks Elessar. This doesnt help, but my issue is different, please see below that the file is getting overwritten every time.

Alan Kirk wrote:What exactly is this magic setting that you're trying to include?
Thanks Alan for the quick response. The Magic setting :), well , let me try to keep the long story short. Its to fix the Multi-level UNDO issue of Excel (If we are adding the TM1 Add-in, Excel's UNDO is working for only one level), hence I tried to use the setting "DisableWritebackonDisconnect" for fixing the issue. Although it worked, the ini file is getting overwritten every time, after connecting with any TM1 server and closing the client.
Alan Kirk wrote:However it will usually only change whatever the session user has changed, which may include whatever you changed prior to that.
If this would be the case, it makes logical. But strangely, the file is getting overwritten every time, even if you are connecting to the same server again, and opening the same cube & closing the perspectives.

If thats the case, how the solutions provided in scenarios like this(http://www.tm1forum.com/viewtopic.php?t=7196) are feasible ?, are we expected to add these setting changes everytime after closing the client !!?
Samp
Posts: 4
Joined: Thu Dec 22, 2016 9:21 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2016

Re: To prevent the TM1p.ini file getting overwritten everytime

Post by Samp »

I contacted IBM support further and they could replicate this issue at their end as well. And they have agreed it as a defect and forwarded the issue to their Product team.
Post Reply