I have a form that allows anonymous users to submit parking requests. I have an approval workflow set up but it won't start because anonymous users don't have permission to do so. Would an event handler make it possible to run the workflow on ItemAdded regardless of who adds it?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
You can wrap up you code in a elevated privileges code block in your event handler.It is similar to impersonation used in asp.net.You can have a look at the following example. http://code-journey.com/2010/run-code-with-elevated-privileges-in-sharepoint/ |
|||
|
|
|
Is this currently a Visual Studio workflow, or a SP Designer workflow? Also, is this SP2010 or 2007? If it's SPD, and you're on 2010, you can now wrap your actions in an Elevated block directly in Designer. If you're already in Visual Studio, you can follow Ybbest's suggestion and run the code with Elevated Privileges. |
|||||||
|
|
here is a method that will solve this issue for you
|
|||
|
|