Can anybody guide me on the steps needed to call an azure function from SharePoint Online, normally functions are called after an item has been added to a list (webhook scenario)?
-
See Chris O'Brien's brief blog-post series: Calling an Azure Function from a SharePoint Framework web part 1 & part 2.– moeCommented Jul 19, 2017 at 10:27
-
@moe thanks exactly what i needed for a start. second step is how to use that in webhook list context.– Keshav TaurahCommented Jul 19, 2017 at 10:38
Add a comment
|
2 Answers
The Microsoft documentation is good. Check out the SharePoint list webhook documentation here: https://dev.office.com/sharepoint/docs/apis/webhooks/lists/overview-sharepoint-list-webhooks
-
the documentation is not for a beginner,they give codes sample but at that time i didnt know what to do with them. the chris obrien is good enough Commented Aug 30, 2017 at 5:13
When you have a generic webhook created in azure functions you must only make an http POST call (With json formated data) to this from your sharepoint.