SharePoint And Retool: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Line 23: Line 23:
https://graph.microsoft.com/v1.0/sites/<siteId>/drives
https://graph.microsoft.com/v1.0/sites/<siteId>/drives
</syntaxhighlight>
</syntaxhighlight>
We can use postman to get this information using the Token URL, Client Id and Client Secret obtained above.<b>
We can use postman to get this information using the Token URL, Client Id and Client Secret obtained above.<br>
[[File:Postman Sharepoint hidden.png |300px]]
[[File:Postman Sharepoint hidden.png |300px]]<br>
This should return the drive id in the id json field
[[File:Postman Graph Result hidden2.png| 300px]]

Revision as of 02:05, 24 February 2022

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


Getting the site id
Go to the SharePoint site. Right click and view source and search for siteId

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.

This should return the drive id in the id json field