SharePoint 2016 General Availability was announced in the Future Of SharePoint conference in May 2016. The series that discusses the installation of SharePoint 2016 in Azure can be found at C# Corner from the links, mentioned below.
Nintex is a premium technology partner for SharePoint. With the announcement of SharePoint 2016, Nintex has made the announcement of the General Availability of Nintex Workflow 2016 in July 11th 2016.
In this article, we will see how to reset permission inheritance of a List Item in a SharePoint List, using Nintex Workflow. We will be maintaining a List ‘Classified List’ within which we will maintain the list data. Based on the Column Value “Confidential?”, we will use Nintex Workflow to define inheritance of the list item.
Within the List, create the columns, mentioned below. Ensure ‘Confidential?’ column is created.
Let’s go ahead to the primary list, where we will be running our Nintex Workflow. In our case, it is the ‘User Profile’ List. Select ‘Create a Workflow in Nintex Workflow’.
Add Run-If condition to the designer
Click Configure to set up the workflow conditions.
In our case, if the List Item Column Value for ‘Confidential ?’ is not equal to ‘Yes’, we will be inheriting Permissions from the parent.
Add the new action ‘Set item permissions’ that will run, if the above conditions turns True.
Click Configure to set the item permission.
Set the item to inherit the permission from the parent.
Now, set the workflow triggering condition. Here, we are setting it to ‘Start when the items are modified’ so that the Workflow triggers on item update.
Publish the Workflow.
Specify the Workflow name, description and submit.
Let’s head to the main list and update the list item column value of ‘Confidential ?’ to ‘No’ . Since the list item is not confidential, it will not have any specific permissions and will inherit the List Permissions.
The Workflow has been triggered and the permission inheritance will be reset for the list item. The status of the Workflow can be verified from the Workflow Column “Reset Inheritance”.
The Workflow has now run to completion.
On checking the list item permissions, we can see that it inherits the permission from the parent.
Summary
Thus, we saw how to reset the inheritance of SharePoint List Item, which is based on the column value, using Nintex Workflow 2016.