
Welcome to this course on SharePoint 2013/2016 custom list and it’s workflow on-premise. This course is designed for those who have basic SharePoint knowledge especially on list and workflow. This is not Microsoft Office 365 SharePoint but on-premise only. I am Kamrul Chowdhury, your instructor for this course. I have several years of SharePoint design, development and implementation experience mostly using SharePoint 2013 and 2016 with more than 15 years of software development experience in different platforms.
Throughout the course we will create lists, columns, implement workflows step by step using the core action “Call HTTP Web Service”, how to use workflow variables, building dictionary variables, SharePoint app permissions, use of Advanced REST Client to view the results, properties, etc and many more.
For this we will create custom lists on sub-sites and will implement the workflow for the “create and update” event of the list. We will also see how we can loop through each item in a list, then access & modify fields accordingly. I believe you will find this course very useful, easy to learn and implement in your work environment.
So, let’s get started!
On this course we will work on two sub-sites. Our first sub-site is "Learning" and the other one is "Projects".
We need two custom lists for this exercise. Each sub-site will have only one list for this task as follows:
Employee list on Learning sub-site
Project Personnel list on Projects sub-site
Employee
Name (e.g. Albert Einstein, Enrico Fermi, Blaise Pascal,Sarah Boysen, etc)
Project (e.g. Project A, Project B, Project C, Project D)
Employment Date
PPID
Project Personnel
Project
Employee
Project Start
Project End
Department (e.g. Department A, Department B, Department C)
Hours Assigned
EMPID
In this lecture we will modify the view for those two lists and will include the default ID property so that we can see them while working on workflow and debug properly.
On this lecture we will start creating the workflow using SharePoint designer 2013. The purpose of creating this workflow is to create a Project personnel when creating Employee record on Employee list. For this we need to implement "Call HTTP Web Service" action in the workflow and this action requires dictionary variables. Following are the variables it will be required to complete this action "Call HTTP Web Service":
RequestHeader, EntityType, RequestContent
We will cover the following two dictionary variables in this lecture:
RequestHeader & EntityType
Definition:
RequestHeader:
HTTP request header is the information, in the form of a text record, that a user's browser sends to a Web server containing the details of what the browser wants and will accept back from the server.
Calling a Web Service provided by SharePoint, by default, the response would be in XML format. We need to specify two HTTP headers to make the result in JSON format, that format can be consumed by SharePoint Workflow by transferring it into Dictionary.
EntityType:
An EntityType represents an entity type in the Open Data Protocol (OData) v4 entity model.
This the continuation of creating the workflow. This workflow also includes the following variables, which we will cover in the next lecture:
RequestContent, ResponseContent, responseCode, ErrorMessage.
All of the above variables are for to complete the action "Call HTTP Web Service"
This the continuation of creating the workflow we started on the previous lecture (Lecture 5 - Workflow for create event & setup variables). We will cover the followings in this lecture to complete the workflow action "Call HTTP Web Service":
RequestContent: The main content variable where we match both list's columns to pass information in the correct fields. Our current list is Employee and we will set values from current list to Project Personnel list.
ResponseContent: The response from the web service. It also contains information if any error occurs.
responseCode: Text based response code from web service. e.g. Created, NoContent, etc.
ErrorMessage: Variable to hold error message from the ResponseContent.
App Permission:
ADMIN will get to see all the SharePoint APPS which is installed with tenant scope and can still restrict the APP that can be consumed by the business user.
Here we need app permission as our workflow is accessing list from one sub-site to another sub-site.
Previous lectures was to show how we can create workflow to create record from one list to another list. Now we will see how we can update from one list to another.
To update a record we always need a reference ID or foreign key so that we can update specific records. So we will be modifying our previously created WF_Create_Employee to add PPID (project personnel ID) for reference.
This lecture is about to test the update workflow. We will modify existing records and will see that the record related to this also updated on the other site's list. After testing the update we need to hide fields those are not important to display on the view of those lists. It will give a more clear view with required fields only.
The purpose of this lecture is to demonstrate how we can update each record/row on the list dynamically if we have some common or conditional information to set. Assume that the list has so many rows/records and we need to update each of the row. It is time consuming to update manually one by one and at a certain point it is impossible to do that.
We will see here how we can accomplish this using looping through the whole list and update fields where applicable.
The continuation of the loop workflow. In this lecture we will set the condition so that when updating the rows and fields it checks every single item when processing. We will complete the workflow on this lecture and will be testing the results.
We need custom action as we cannot set it on any event to fire the workflow automatically. Custom action requires rights to perform that action. Here is the links or references for all kinds of rights mask:
Rights mask
https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssfo3/1f5e3322-920f-431c-bbc4-7f65c477e698
Or
https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ms412690(v=office.15)?redirectedfrom=MSDN
Thank you for your interest in this course. There are always more on this topic. I have tried to include the details step by step so that you can go through the hands-on experience of this course. Though the course duration shows an hour only, you must have experienced much more hours to complete all together. Hope all these lectures help you understand the content of the course.
I would appreciate your comments and suggestions to improve the course contents.
Wishing you all the best in your future endeavors!
This course describes the SharePoint custom list & workflow step by step that copies a list item when created, then creates a list item to another sub-site. Also, when we update the list item it also updates the corresponding list item to other site. You will also be able to loop through each item in a list and work on that using the workflow.
So, you will be able to create lists in a way that allows SharePoint sub-sites "list to list" data transfer, workflow using Call HTTP Web Service, use of workflow variables, SharePoint app permissions, use of Advanced REST Client to view the results and step by step development of workflow using SharePoint Designer 2013.
By the end of this course, you will have a solid understanding of how SharePoint workflows interact with REST APIs to automate data synchronization across multiple site collections and sub-sites. You will gain hands-on experience building reusable workflow templates that can be adapted to a wide range of real-world business scenarios — from automating approval processes to maintaining synchronized records across departments.
Additionally, this course covers how to troubleshoot common workflow errors, interpret REST API responses, and fine-tune app permissions to ensure your workflows run securely and reliably in a production SharePoint environment. Whether you are a SharePoint developer, a business analyst, or an IT administrator looking to automate repetitive tasks, this course provides the practical, step-by-step guidance you need to get started with confidence.