SharePoint And Retool

From bibbleWiki
Jump to navigation Jump to search

Introduction

May useful for other Azure questions but mostly to ensure I don't forget

Retool

This is a point and click App which you can create web front-end apps. It provides

  • authentication
  • connectors to other resources S3, Sharepoint etc
  • controls which can be used

Settings in Retool (SharePoint)

Here is the connector in Retool
Retool SharepointAPI Hidden.png


Getting the site id
Go to the SharePoint site. Right click and view source and search for siteId
SharePointSiteId hidden.png
Getting the driver id
We need to query the SharePoint site using MS Graph and the site id obtained above.

https://graph.microsoft.com/v1.0/sites/<siteId>/drives

We can use postman to get this information using the Token URL, Client Id and Client Secret obtained above.
Postman Sharepoint hidden.png
This should return the drive id in the id json field
Postman Graph Result hidden2.png