SharePoint Architect & Developer

Slides:



Advertisements
Similar presentations
SharePoint 2013 – REST, JSON and SharePoint Designer
Advertisements

Site Collection, Sites and Sub-sites
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Microsoft ® Official Course Client-Side SharePoint Development SharePoint Practice Microsoft SharePoint 2013.
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Advanced SharePoint Designer 2013 Workflows SCOTT SHEARER SHAREPOINT EVANGELIST HAYSTAX TECHNOLOGY.
Submitted by: Madeeha Khalid Sana Nisar Ambreen Tabassum.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
SharePoint and SharePoint Online: Today and what's next? Presented by Luke Abeling – IT Platforms.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Advance Map Automation With Python
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Esri UC 2014 | Technical Workshop | Esri Roads and Highways: Integrating and Developing LRS Business Systems Tom Hill.
Payroll System Bank System Any bank(s) to which direct deposit transactions are sent. Employee A person that works for the company that owns and operates.
New & Improved Events List Relationships and Joins Large List Support Field & List Item Validation.
Introduction to the SharePoint 2013 REST API. 2 About Me SharePoint Solutions Architect at Sparkhound in Baton Rouge
Using the Right Method to Collect Information IW233 Amanda Murphy.
Office Business Applications Workshop Defining Business Process and Workflows.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Using Collector for Offline Editing with Versioned Data
INTRO TO SHAREPOINT WORKFLOWS Derek Nishino Nishino Consulting
WORKING WITH THE “CALL HTTP WEB SERVICE” WORKFLOW ACTIVITY Derek Nishino Nishino Consulting
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Publishing GIS Services to ArcGIS Server
SharePoint Designer Workflows Nuts, Bolts and Examples SharePoint Saturday Chicago Suburbs March 19 th 2016.
GETTING TEACHERS STARTED OneNote Class Notebook Creator.
Leveraging SharePoint Search In SharePoint 2013 Jameson Bozeman.
Advanced SharePoint Designer 2013 Workflows SCOTT SHEARER SHAREPOINT EVANGELIST HAYSTAX TECHNOLOGY.
PRESENTED BY: K2.COM GREG SANDERSON TECHNICAL SPECIALIST, SHAREPOINT WORKFLOW IN 2013.
PRESENTED BY: K2.COM STEVE BOLDT SHAREPOINT WORKFLOW IN 2013.
Intro to Declarative Workflows in SharePoint Daryl Rasmussen, MCSD (.NET), MSTS (Moss 2007), MCSD (SP 2010) Calgary SharePoint Users Group.
Transportation Agenda 19. Transportation Your Role: Designer Designers organize SharePoint content and determine how to display that content Typical tasks.
1 Terminal Management System Usage Overview Document Version 1.1.
6 Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Site Hub User Role – Managing Sites.
Bhakthi Liyanage SPS Toronto July GOLD BRONZE / PRIZES SILVER.
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Running a Forms Developer Application
Business Directory REST API
Clean Harbors Online Services – CS1045
TOPSpro Special Topics
Build Power-full Solutions in Office 365 …without Code!
z/Ware 2.0 Technical Overview
Build Power-full Solutions in Office 365 …without Code!
An introduction to REST for SharePoint 2013
SPS FPDS-NG Integration: System Administration
SNOW ONLINE TRAINING IN HYDERABAD
Get Valid Microsoft MB2-715 Exam Study Guide - MB2-715 Questions Answers Realexamdumps.com
Customizing the Social Workload
Automated Test Execution & Reporting (TER) Plugin using JIRA
Case Study – Swiss Manufacturing Giant in robotics based power and automation Background: ABB is a multinational corporation headquartered in Zurich, Switzerland,
The Application Lifecycle
Centene’s Broker Online Self Service Tool User Guide
Nintex 2013 and DocuSign Workflow
Practical guide to build Modern Intranet sites with SharePoint Communication Sites Asish Padhy.
Advanced InfoPath Development InfoPath / SharePoint 2010
SPO Demos to Business Value Discussion Pillar Mapping
Office 365 Development.
Saravana Kumar CEO/Founder - Kovai Atomic Scope – Product Update.
Vendor Management: New Vendor Request Processing
Quick reference: entering a requisition In escape RECEIVING AN ITEM
Microsoft Graph – Intune API’s
03 | Basic Admin Capabilities
Contract Management Software 100% Cloud-Based ContraxAware provides you with a deep set of easy to use contract management features.
01 | Building Windows Store Apps with XAML Part 1
Day 1, Session 4 Building Your Service Catalog
Presentation transcript:

SharePoint Architect & Developer Advanced REST API & SharePoint: Manage Permissions with Workflows (SharePoint Online, SharePoint Designer) Nicholas Miller SharePoint Architect & Developer

Agenda Brief Review of the Rest API & Web Services Preparation for building Workflows using Web Services Manage List/Library Item Permissions via Rest Concept of Central Mapping List for User Access Lessons Learned Questions

Brief Review of the Rest API & Web Services

Examples of Rest API in IE Role Definitions (All Fields)

Examples of Rest API in IE Role Definitions (Select Properties)

Examples of Rest API in IE SharePoint List (All Properties)

Examples of Rest API in IE SharePoint List (Select Data)

Workflow Designer – Properties “Call HTTP Web Service” Action Address – String RequestType – Built in selection for: HTTP DELETE HTTP GET HTTP POST HTTP PUT RequestHeaders – Dictionary RequestContent – Leave Blank on most Web Service Calls ResponseContent – Dictionary ResponseHeaders – Dictionary ResponseCode - String The variables for this action can be used extensively for debugging. After your web service call, you can e-mail yourself with this information to see what data was returned and any errors normally not seen. The Results are returned in JSON.

E-mail Example for Debugging

Preparation for building workflows using Web Services

Method to the Madness 60% Design, 30% Develop, 10% Deploy T.O.T.B.  Think Outside The Box Start with the “Pie in the Sky” for the Business User, as most project’s scope tends to creep Map out Current and Future States Identify sub-workflow processes (if needed) Identify potential hazards Embrace 3rd Party Applications for SharePoint Plumsail (https://plumsail.com/) Plumsail – Workflow Actions Pack (https://plumsail.com/workflow-actions-pack/) SharePoint Designer 2013 Platform workflows only 30% Develop Develop each part of the sub-workflow processes prior to developing main workflow to ensure success Plan your logic cleanly Use History List logging and E-mails for debugging 10% Deploy Deploy finished product into your production environment, test with business users, and walk-away successful

Method to the Madness 60% Design, 30% Develop, 10% Deploy Tips & Reminders Stages, Steps, & Variables are your Best Friends! Build & Set your variables first RestURLs, Permission Levels, String-Variables for items retrieved from dictionaries, various dictionaries for the Call Action, String-Variables for Security/SharePoint Group IDs, etc. Taking the time to build and use variables in your workflow in the beginning makes updating and trouble-shooting easy Organize your Stages and Steps to keep actions together Enable the “App Step” feature in your site, as you will need it POST calls require the App Step GET calls require NOT to be in an App Step

Method to the Madness 60% Design, 30% Develop, 10% Deploy Tips & Reminders Use e-mail to debug the Rest Call Build 1 Rest Call, and test until it is right, then Copy and paste the reminder of the calls, changing the variables Log to the History list during initial development, but remove most of them when deploy to minimize the number of Outbound Workflow Service calls Limit of 5,000 Outbound request to the Workflow Service, per workflow instance, per SharePoint Site in a 24-hour period (KB-3076399) 24-hour clock starts when the instance is created Final Stage should be “Log End of Workflow” This allows you to set the workflow status to “Complete”, along with entering any final logging

Manage List/Library Item Permissions via Rest

Move into SharePoint Designer and build out the workflow

Concept of Central Mapping Lists for User Access

Holiday Communities & Accesses 4 Districts 32 Regions 308 Communities All Communities, Regions, and Districts have specific access requirements maintained by AD Security Groups. Having a mapping list with these groups populated makes using the Web Service action assigning specific access dynamic and automated across a multitude of SharePoint lists, Libraries, and customized InfoPath Forms.

Example of using Rest API in obtaining Specific District/Region/Community Access

Example of Permission Updates Using REST Lookup Move into SharePoint Designer to show the workflow and demo in SPList

Lessons Learned

Use OneNote for quick reference Workflow Service throttling Get_RequestHeaders dictionary specifics, RestURLs, frequently used Security and SharePoint Group IDs, Permission Level IDs (Role Definitions ), etc. Workflow Service throttling GET requests return batches of 100, so using loops and count actions are needed updating lists with more than 100 items. Build 1 Web Service call, publish, and test with e-mail debugging Ensure you have given your workflows the appropriate permissions Iron out all the wrinkles with your first call from errors, getting items from dictionaries, etc. Once satisfied, build out the other Web Service calls Use Stages and Steps to group the types of calls GET requests and Individual Items from that call POST requests (in an App Step) together Log to the history list at the end of each step to ensure the workflow is hitting all areas needed for the specific scenario

Questions???

Nicholas Miller SharePoint Architect & Developer Holiday Retirement nicholas.miller@holidaytouch.com