oss-boun...@ozmoss.com>] On Behalf
Of Ishai Sagi
Sent: Saturday, 17 December 2011 9:09 AM
To: ozMOSS
Subject: RE: Custom Workflow Activity
That code doesn’t really elevate privilages – either the token or the
“RunWithElevatedPrivileges” is redundant. I think the problem will be in the
“Creat
> --
>
> James Boman ■ Telephone: +61 (08) 7200 1100 ■ Mobile: +61 (0) 417 857 298
> ■ Web: http://www.ipmo.com.au || http://www.projectserver.com.au
>
> ** **
>
> *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On
> Behalf Of *Is
+61 (0) 417 857 298 ■
Web: http://www.ipmo.com.au || http://www.projectserver.com.au
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Ishai Sagi
Sent: Saturday, 17 December 2011 9:09 AM
To: ozMOSS
Subject: RE: Custom Workflow Activity
That code doesn't really el
m<http://www.sharepoint-tips.com/> |
@ishaisagi<http://twitter.com/ishaisagi>
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Ajay
Sent: Saturday, 17 December 2011 4:08 PM
To: ozMOSS
Subject: Re: Custom Workflow Activity
Thanks Ishai,
I will just give you m
Solutions Architect
> 0488 789 786 | is...@exd.com.au | www.sharepoint-tips.com |
> @ishaisagi<http://twitter.com/ishaisagi>
>
>
> ** **
>
> *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On
> Behalf Of *Ajay
> *Sent:* Friday, 16 December 2011 5:4
moss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Ajay
Sent: Friday, 16 December 2011 5:49 PM
To: ozMOSS
Subject: Fwd: Custom Workflow Activity
I have discovered it's permission issue when workflow starts automatically.
I have elevated priveleges and also opened the site using t
user.UserToken;
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite site = new SPSite(siteCollection.ID, token))
{
CreateTerm(site, title);
}
});
-- Forwarded message --
From: Ajay
Date: Fri, Dec 16, 2011 at 7:11 PM
Subject: Custom Workflow Activity
To: ozMOSS
Hi Guys,
I
ment before printing this email
[cid:image001.png@01CCBC16.AB2E9180]
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Ajay
Sent: Friday, 16 December 2011 4:41 PM
To: ozMOSS
Subject: Custom Workflow Activity
Hi Guys,
I have created a custom WF activity hooked up i
Hi Guys,
I have created a custom WF activity hooked up in SharePoint designer.
It creates a sub-site and some user groups.
So far so good, then the requirement came to add the site name to the Term
Store.
The workflow is configured to start on Item Added.
On Automatic start, problem is the work