Page 1 of 1

Force Commit from TI w/ Personal Workspaces

Posted: Wed Mar 09, 2011 4:14 pm
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.

Re: Force Commit from TI w/ Personal Workspaces

Posted: Wed Mar 09, 2011 5:35 pm
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.

Re: Force Commit from TI w/ Personal Workspaces

Posted: Wed Mar 09, 2011 7:01 pm
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.

Re: Force Commit from TI w/ Personal Workspaces

Posted: Wed Mar 09, 2011 8:05 pm
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.