Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

PDF as an output option for SharePoint Files Output Tool

PierreRodriguez
6 - Meteoroid

Hi everyone!

 

I send pdf files to sharepoint as follows:

 

1. I create a pdf file

2. I use a Block Until Done tool and in output 1 a temporary pdf file is generated

3. In the Output 2, I use a Engine.TempFilePath formula to know the temporary path of the file

4. Finally, I use a macro (with python) to send the file to Sharepoint

 

PierreRodriguez_0-1740417311763.png

 

In the macro, I put :

 

The Sharepoint site: https://{tenant}.sharepoint.com/sites/{your site}/

The Sharepoint Folder: /sites/{your site}/Shared documents/folder...

email: your email

password: your password

path_temp: you should choose the column with the temporary path name

 

- The macro inside is like this:

 

PierreRodriguez_1-1740417311790.png

 

 

I used a package called "Office365-REST-Python-Client" : https://github.com/vgrem/Office365-REST-Python-Client

 

With this I was be able to send pdf files to Sharepoint

 

Thank you for your attention

0 REPLIES 0
Labels
Top Solution Authors