Force Commit from TI w/ Personal Workspaces

Post Reply
rensley
Posts: 4
Joined: Fri Sep 17, 2010 1:13 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Force Commit from TI w/ Personal Workspaces

Post by rensley »

I have a question,


Is there any way of forcing a commit from a TI process that will commit the users personal workspace?

I have not found anything that says it is possible but I also have no found anything that is saying it is impossible.

Thanks in advance.
csjean
Posts: 40
Joined: Mon Mar 01, 2010 2:53 pm
OLAP Product: TM1
Version: 9.5 9.5.1 9.5.2
Excel Version: 2007

Re: Force Commit from TI w/ Personal Workspaces

Post by csjean »

Hi,

If by
users personal workspace
you mean a SandBox, it is possible.

Providing that:
1- The user in question is the one to execute the TI.
2- You are not running the TI as a Chore.

You can use:

Code: Select all

ServerActiveSandboxSet(SandboxName);
SetUseActiveSandboxProperty(1);
Hope this helps.
Cheers!

--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
ajain86
Community Contributor
Posts: 132
Joined: Thu Oct 15, 2009 7:45 pm
OLAP Product: TM1
Version: 9.4.1 9.5 9.5.1
Excel Version: 2003 2007

Re: Force Commit from TI w/ Personal Workspaces

Post by ajain86 »

I believe what rensley wanted was the ability to commit a users personal workspace data to the base data.

I have not found any TI functions for this matter.
SetUseActiveSandboxProperty(1);
This function will only set the TI process to run against the users active sandbox but the user would still have to manually commit the data from the sandbox.
Ankur Jain
csjean
Posts: 40
Joined: Mon Mar 01, 2010 2:53 pm
OLAP Product: TM1
Version: 9.5 9.5.1 9.5.2
Excel Version: 2007

Re: Force Commit from TI w/ Personal Workspaces

Post by csjean »

ajain86 wrote:I believe what rensley wanted was the ability to commit a users personal workspace data to the base data.
Aha!

Thanks Ankur.

I had misunderstood the question.

With that said, I haven't seen anything in the docs nor in the Java API that could help.

I'll keep looking.
Cheers!

--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
Post Reply