17
Introductie in het ontwikkelen van Remote Event Receivers

SPSNL15 - Remote Event Receivers

Embed Size (px)

Citation preview

Introductie in het ontwikkelen van Remote Event Receivers

E: [email protected]: @vverbeek87B: sharepointgotchas.wordpress.com

Vincent Verbeek

Handling events in a SharePoint Online

environment1. Out with the old…2. In with the new!3. Demo: Create a RER4. Demo: Deploy to Azure5. Limitations6. Patterns & Practices (PnP)7. Q&A

Agenda

1. Out with the old…

1. Out with the old…

App == Add-in

Users

External System

SharePoint

1. User updates SharePoint list

2. Registered event receiver called 3a. Line of business

system is updated

1. SharePoint 2010 ERs

GAC

3b. SharePoint is updated

4. Event receiver returns

2. In with the new!

2. In with the new!

Remote · [ri mōt′]

adjective1.The definition of remote is something that is far away in place or time or a place that is located away from the populated areas.

noun2.Remote is a device used to control the TV or other electronic equipment. An example of remote is the controller that comes with your cable box.

2. SaaD (SharePoint as a Datahub)

SharePoint

External System

External System

External System

External System

ACS

Users

External System

Custom Web Service

SharePoint

1. User updates SharePoint list

3. Registered event receiver called

2. SharePoint requests token from ACS

4. Line of business system is updated

5. Event receiver returns

2. RERs

ACS

Users

External System

Custom Web Service

SharePoint

1. User updates SharePoint list

3. Registered event receiver called

2. SharePoint requests a token from ACS

4. Line of business system is updated

5. Event receiver requests a token from ACS

2. RERs - callback

6. Event receiver calls back into SharePoint

2. Tooling

DEMO

5. Limitations

• No guaranteed delivery• Timeout• No Web and Site Collection events

• Provider Hosted Add-ins only• Hosting restrictions• Inconvenient removal

6. Patterns & Practices (PnP)

http://dev.office.comhttps://github.com/OfficeDev/PnP

7. Q & A

Feel free to contact [email protected]@vverbeek87

THANK YOU