Re: Custom Workflow Activity

2011-12-18 Thread Ishai Sagi
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

Re: Custom Workflow Activity

2011-12-18 Thread Ajay
> -- > > 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

RE: Custom Workflow Activity

2011-12-18 Thread James Boman
+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

RE: Custom Workflow Activity

2011-12-18 Thread Ishai Sagi
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

Re: Custom Workflow Activity

2011-12-16 Thread Ajay
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

RE: Custom Workflow Activity

2011-12-16 Thread Ishai Sagi
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

Fwd: Custom Workflow Activity

2011-12-15 Thread Ajay
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

RE: Custom Workflow Activity

2011-12-15 Thread Paul Turner
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

Custom Workflow Activity

2011-12-15 Thread Ajay
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