# Get files from Sharepoint to Ignition Cloud

**URL:** <https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297>\
**Category:** Ignition\
**Created:** [September 23, 2024, 8:21am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297 "2024-09-23T08:21:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petter\_Sunde\_Vegsund](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@Petter\_Sunde\_Vegsund](https://forum.inductiveautomation.com/u/Petter_Sunde_Vegsund)\
**Post date:** [September 23, 2024, 8:21am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297/1 "2024-09-23T08:21:58Z")

</div>

Hello guys,  
I was wondering if anyone have a direct solution to connect Sharepoint documents to Ignition (either standard or cloud).

I know it would be possible to make a script that connects to Sharepoint and pushes the files to the a server that is connected to Ignition Cloud. But is there a more direct way or easier solution?  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 23, 2024, 9:22am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297/2 "2024-09-23T09:22:02Z")

</div>

What are you gonna do with those files?  
Sharepoint has API's fo you to acces files

---

<div class="post-metadata">

**Author:** ![Petter\_Sunde\_Vegsund](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@Petter\_Sunde\_Vegsund](https://forum.inductiveautomation.com/u/Petter_Sunde_Vegsund)\
**Post date:** [September 23, 2024, 9:27am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297/3 "2024-09-23T09:27:01Z")

</div>

The plan is to get the sharepoint files to a Ignition Cloud view so that you can open/download the files. I know sharepoint has a pretty good API, but is it possible to connect the API through the designer directly instead of a script outside of Ignition that feeds the documents into the cloud server. Basically a direct integration of the Sharepoint API to the designer.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 23, 2024, 9:46am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297/4 "2024-09-23T09:46:48Z")

</div>

Yeah you could use the httpclient to request stuff from sharepoint API

> **[system.net.httpClient | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-net/system-net-httpClient)**
>
> Provides a general use object that can be used to send and receive HTTP requests.

and than use the system.perspective.download to download those files to the client directly

> **[system.perspective.download | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-download)**
>
> Downloads data from the Gateway to a device running a Session.

---

<div class="post-metadata">

**Author:** ![Petter\_Sunde\_Vegsund](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@Petter\_Sunde\_Vegsund](https://forum.inductiveautomation.com/u/Petter_Sunde_Vegsund)\
**Post date:** [September 23, 2024, 10:35am UTC](https://forum.inductiveautomation.com/t/get-files-from-sharepoint-to-ignition-cloud/96297/5 "2024-09-23T10:35:04Z")

</div>

Thank you so much! Ill take a look at it 😄
