Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Save Excel File on Sharepoint with a Python Tool

OJet
7 - Meteor

Hi Community, 

 

Did anyone have any luck saving a file in a Sharepoint folder using Python tool? I know that people are mentioning Sharepoint tools, but my Python script generates a pretty complex Excel file that populates columns, writes excel formulas, formats, color codes,  and sorts the output in a particular order  dynamically based on the combination of parameters the user selects when starting the flow, I won't be able to replicate that logic through Alteryx tools.

 

Thank you.

2 REPLIES 2
gawa
16 - Nebula
16 - Nebula

@OJet 

It seems challenging task without using Sharepoin tool. My idea is:

1) Save the Excel file in temporary folder within Python tool *you can  call temp path by Alteryx.getWorkflowConstant("Engine.TempFilePath") 

2) Use Run Command tool to run Powershell script which move Excel file in temporary folder to the designated Sharepoint folder.

 

Preparing powershell script for step(2) would be challenging.

XihanJin
5 - Atom

You could look for a python package called office365, which will help. I am using it reading and saving excel on sharepoint myself for a long time.

Labels
Top Solution Authors