Cloud Elements currently supports events via polling or webhooks depending on the endpoint.
n
minutes and captures the changed information.If you would like to see more information on our Events framework, please see the Event Management Guide.
In order to enable polling, add these extra configurations to your instance JSON:
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
instance JSON with polling events enabled:
{
"element": {
"key": "sharepoint"
},
"providerData": {
"code": "Code on the Return URL"
},
"configuration": {
"oauth.callback.url": "https://www.yourcallbackurl.com",
"oauth.api.key": "<INSERT_SHAREPOINT_CLIENT_ID>",
"oauth.api.secret": "<INSERT_SHAREPOINT_CLIENT_SECRET>",
"sharepoint.document.library": "<INSERT_SHAREPOINT_DOCUMENT_LIBRARY_NAME>",
"oauth.scope": "Web.Write Web.Read Web.Manage",
"sharepoint.site.address": "<INSERT_SHAREPOINT_SITE_ADDRESS_NAME>",
"document.tagging": false,
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>",
"event.poller.urls": "documents"
},
"tags": [
"<INSERT_TAGS>"
],
"name": "<INSERT_INSTANCE_NAME>"
}