How to add Remote Event Receivers to SharePoint List through REST -
adding event receivers al list through rest: msdn has page rest calls add event receivers.
https://msdn.microsoft.com/en-us/library/office/jj245049.aspx . post http://<sitecollection>/<site>/_api/web/lists(listid)/eventreceivers
what bearer token needs attach ? got oauth token permission sharepoint online, still not able events if attach event receivers above post call. please point me, token needs attach event receivers, , how token.
please add http/error exception app rise here. otherwise none able give answer.
regarding office365 oauth have 2 steps. first app asks token_id , receive one, second phase access_token token_id received first call. access_token can use sharepoint services if app have necessary permissions. more details here: https://msdn.microsoft.com/en-us/office/office365/howto/common-app-authentication-tasks
i haven worked rest remote receivers, might alternative task https://github.com/officedev/pnp/tree/master/samples/core.eventreceivers.
this read how app can connected offcie365, in python: http://dev.office.com/code-samples-detail/2139
you can search across pnp examples , see if there isn't example matches requirements.
Comments
Post a Comment