• Know more about me

Mai Omar Desouki

~ Senior Cloud Solution Architect @ Microsoft

Mai Omar Desouki

Category Archives: SharePoint Workflow

Dynamic Item Permissions from SharePoint Designer Workflow

20 Wednesday Jul 2011

Posted by Mai Omar Desouki in SharePoint Designer, SharePoint Designer Workflow, SharePoint Workflow, Workflow

≈ 19 Comments

Tags

SharePoint Designer, SharePoint Designer Workflow, SharePoint Workflow, Workflow


Dear all, this post is for Willy Vidable for thread in MSDN and its idea is by Clayton​, and i am doing a step by step for Willy to help much better and also i wanted to post that workflow as i find it useful for all of us to use.

Step 1:

Create a custom list, you will have Column named Title by default, created another column named Assign to of type people and group.

and that’s it for the list.

listcol

Step 2:

Open your site in SharePoint Designer, click on workflow on the left navigation,

from ribbon on top, click list workflow, and choose your custom list you just created,

to list workflow

First put your mouse out of Step 1, and insert Impersonation Step, then remove Step 1 as we don’t need it

impersonation

It should look like this:

impersonationadded

Now put your mouse inside the Impersonation Step as this will make you see More Actions,

click on Action from ribbon, and under list category > click Replace item permission

replace

Click on these permissions link, and click add, then click choose, don’t check on any check box of those permissions now,

we will come to it later, from Select users windows > click Workflow Lookup for a user, click add, keep datasource to current item,

from field from source, we will choose the Assign to column that we created in our custom list, now click ok till you reach to

the Add permissions windows, from here, based on your needs, choose the permission you want to give to the user,

who will work on the item created for him/her.

thesepermissions

I choosed Contribute, but choose what suites you.

contribute

The second link is this list, we will choose the default, keep it current item.

impoersonationok

Now save and publish, you will see the display message, give it ok, this is because of the impersonation step.

Now go to your site in the browser, and to our custom list, create new item, type in the assign to column,

the user who should have permissions on this item. and click the item, and from the ribbon choose Worflows, or

from the dropdown menu on the item title, or from dialog when you open the item,… more than one way..

you will see your workflow name that you created, click on it and click on start.

startwf

Now you should see on your custom list, that workflow completed, as we don’t have much steps, its only one.

you can add more based on your needs.

If you go now to see this item permission, you see it is not inherting anymore, but it has unique permissions and

and user you wrote in assign has the permission that we chose while create SharePoint Designer workflow.

unquie

Hope that helps.

Thanks Clayton for your idea, i add this dynamic steps to it.

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Blog Visitors

  • 82,365 Visitors

Categories

  • About me (1)
  • Microsoft Teams (3)
    • SharePoint Online (1)
  • Microsoft Viva (1)
  • Migration (2)
  • OneDrive for Business (1)
  • Parents (1)
  • Power Platform (1)
  • SharePoint 15 (5)
  • SharePoint 2010 (56)
    • Content Types (1)
    • Developer Dashboard (1)
    • Document Set (1)
    • Events I am Speaking In (2)
    • External Lists (1)
    • FAQ (2)
    • FBA (1)
    • Form Based Authentication (1)
    • Integration of CRM 2011 with SharePoint 2010 (1)
    • JQuery (1)
    • Master Page (1)
    • My Site (1)
    • PowerShell (3)
    • SharePoint Administration (5)
    • SharePoint Branding (1)
    • SharePoint Customization (5)
    • SharePoint Designer (4)
    • SharePoint Designer Workflow (1)
    • SharePoint Events (2)
    • SharePoint Online (1)
    • SharePoint Permissions (1)
    • SharePoint Workflow (1)
    • User Profile (2)
    • User Profile Sync (1)
    • Videos (1)
    • WebParts (1)
    • Workflow (1)
  • SharePoint 2013 (91)
    • Cloud App (1)
    • Event Handler (1)
    • iPad (1)
    • IPhone (1)
    • Napa (1)
  • SharePoint Updates (1)
  • Visual Studio 2012 (3)
  • Viva Engage (1)
  • Yammer (1)

Tag Cloud

About me Document Set Events I am Speaking In FAQ FBA Form Based Authentication JQuery Master Page Microsoft Teams Migration My Site PowerShell SharePoint 15 SharePoint 2010 SharePoint 2013 SharePoint Administration SharePoint Branding SharePoint Customization SharePoint Designer SharePoint Designer Workflow SharePoint Events SharePoint Online SharePoint Permissions SharePoint Workflow User Profile User Profile Sync Videos Visual Studio 2012 WebParts Workflow

Calendar

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Sep    

Archive

  • September 2022 (2)
  • August 2022 (2)
  • July 2022 (2)
  • March 2022 (1)
  • August 2021 (2)
  • September 2020 (2)
  • May 2020 (2)
  • April 2020 (6)
  • March 2020 (1)
  • September 2019 (2)
  • July 2015 (1)
  • May 2015 (3)
  • April 2015 (1)
  • March 2015 (1)
  • February 2015 (2)
  • January 2015 (1)
  • October 2014 (1)
  • September 2014 (3)
  • June 2014 (7)
  • May 2014 (5)
  • April 2014 (4)
  • March 2014 (3)
  • February 2014 (1)
  • January 2014 (2)
  • December 2013 (6)
  • November 2013 (5)
  • October 2013 (6)
  • September 2013 (5)
  • August 2013 (5)
  • July 2013 (5)
  • June 2013 (2)
  • May 2013 (2)
  • February 2013 (2)
  • January 2013 (1)
  • October 2012 (2)
  • September 2012 (7)
  • August 2012 (15)
  • July 2012 (5)
  • June 2012 (2)
  • May 2012 (4)
  • April 2012 (2)
  • March 2012 (1)
  • August 2011 (3)
  • July 2011 (15)

Blog at WordPress.com.

  • Follow Following
    • Mai Omar Desouki
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Mai Omar Desouki
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: