tag:blogger.com,1999:blog-2443079609557301629.post7991207682909816262..comments2023-05-10T13:21:52.908+02:00Comments on Sharepoint 1on1: Project Server - Workflow approval email: Approval required for project: '... has been assigned to youUnknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-2443079609557301629.post-21782581382342489882013-08-23T20:55:47.946+02:002013-08-23T20:55:47.946+02:00Well, if your task is to register event on that li...Well, if your task is to register event on that list, then your job is simple.<br />Just go to Visual Studio and create new project --> in templates select Visual C# --> SharePoint --> 2010 --> on the right side select "Event Receiver", click Next.<br />On the next screen write the location to your PWA site --> click Next.<br />On the next screen select "List Item Events", then list "Tasks" and select checkbox on the event "An item is being added" (or "An item was added") and click Finish.<br /><br />When you deploy that solution, you have new event receiver on your list.<br /><br />That list is plain SharePoint list, so it can be handled in this way (no need for complex Project Server events).<br /><br />Check out this post:<br />http://sharepoint1on1.blogspot.com/2012/10/disable-event-firing-part-3-multiple.html<br /><br />Here you can see description of small and useful program for events on your SP Farm. With this tool you can verify how many event receivers you have on you lists.Mario Zagrebhttps://www.blogger.com/profile/03429496368627129382noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-1276123000243812812013-08-23T06:18:25.685+02:002013-08-23T06:18:25.685+02:00Thanks a lot Mario.I am facing difficulties in fin...Thanks a lot Mario.I am facing difficulties in finding the correct event to which to attach this receiver. The requirement is to fire it when an item is added to the Project Server Workflow Task List.Any help is really welcome as i am completely stuckSsPhttps://www.blogger.com/profile/16450371979978303325noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-89088718056872435612013-08-20T23:55:45.965+02:002013-08-20T23:55:45.965+02:00Here are detailed instructions on Event Handler de...Here are detailed instructions on Event Handler deployment and registering:<br />http://msdn.microsoft.com/en-us/library/gg615466%28v=office.14%29.aspx<br />If you have any problems, let me know.Mario Zagrebhttps://www.blogger.com/profile/03429496368627129382noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-13525032269260341482013-08-20T10:04:00.872+02:002013-08-20T10:04:00.872+02:00Hi,
Thanks a lot for this wonderful post.Can you ...Hi,<br /><br />Thanks a lot for this wonderful post.Can you please let me know how to register the event receiver in Project Server Workflow Tasks.<br /><br />Thanks in advanceSsPhttps://www.blogger.com/profile/16450371979978303325noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-3628354671983057702013-02-26T21:38:54.935+01:002013-02-26T21:38:54.935+01:00Check this article (and look at the comments below...Check this article (and look at the comments below the article):<br />http://sharepointx-men.com/2010/07/07/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/Mario Zagrebhttps://www.blogger.com/profile/03429496368627129382noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-21505024187917318232013-02-26T21:15:29.091+01:002013-02-26T21:15:29.091+01:00Thanks a lot. I don´t have de SharePoint.dll but I...Thanks a lot. I don´t have de SharePoint.dll but I Copied form another computer. Now I am trying to deploy de event in a sharepoint site, but when y write this in the command prompt:<br /><br />stsadm -o activatefeature -filename EventHandler\Feature.xml -url http://Server/Site/Subsite<br /><br />I get: Operation is not valid due the current state of the object.<br /><br />Why? what object? Thanks!JSantacruzhttps://www.blogger.com/profile/17099127194645547381noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-20541575596457029982013-02-20T21:18:19.874+01:002013-02-20T21:18:19.874+01:00Two possible solutions
1. Do you have Microsoft.Sh...Two possible solutions<br />1. Do you have Microsoft.SharePoint.dll included in references? <br />2. Go to project properties and switch from .NET Framework 3.5 Client Profile to .NET Framework 3.5 (or 4.0)<br /><br />Let me know if it helped.<br />RegardsMario Zagrebhttps://www.blogger.com/profile/03429496368627129382noreply@blogger.comtag:blogger.com,1999:blog-2443079609557301629.post-39249432622176024412013-02-20T04:33:12.464+01:002013-02-20T04:33:12.464+01:00Hi! Great post. But when I tried to do it, in this...Hi! Great post. But when I tried to do it, in this line:<br />public class Class1 : SPItemEventReceiver<br /><br />Visual Studio 2010 tell me: The type or namespace could not be found. No meeting dll de Microsoft.Sharepoint... What I can do?<br /><br />Thanks!JSantacruzhttps://www.blogger.com/profile/17099127194645547381noreply@blogger.com