cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Upload file & Folder name

Hello everyone.

New PowerApps dev here.


I advanced to this moment inspired by guides that I found on the web.
My apps is enabled to upload files and drop it on sharepoint documents folder. With Power Automate, I upload the file to the sharepoint folders.
How can I make that new file go to new folder in sharepoint and folder names use data from sharepoint list.

 

Thank

 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Upload file & Folder name

Hi @Dbotta ,

Could you please show more details about the flow's configuration?

Do you want to add a new Folder Name in your SP Library with data from your SP List?

 

Based on the needs that you mentioned, I guess you submit a new Item from your canvas app to SP List, and upload a file for current submitted item into your SP Library, is it right?

 

If you want to add a new folder in your SP Library, I think the "Create new folder" action of SharePoint connector could achieve your needs.

In addition, if you want to get the submitted List Item data from your canvas app within your flow, you need to define another parameter in your flow to receive the List Item ID value of the submitted record from your canvas app. With the received List Item ID value, you could add a "Get item" action to get the submitted List Item record value, then you could reference it within your  "Create new folder" action.

I have made a test on my side, please consider take a try with the following flow's configuration:

5.JPG

 

6.JPG

 

After that, you need to remove the flow connection from your canvas app, then re-add a new connection to above flow from your canvas app, make the changes you made in your flow take effect in your canvas app. Then execute the 'Flow Name'.Run() formula again.

Note: Except for the previous arguments within this 'Flow Name'.Run() formula, you need to provide the List Item ID value of the submitted record for the additional argument you added in your above flow.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Upload file & Folder name

Hi @Dbotta ,

Could you please show more details about the flow's configuration?

Do you want to add a new Folder Name in your SP Library with data from your SP List?

 

Based on the needs that you mentioned, I guess you submit a new Item from your canvas app to SP List, and upload a file for current submitted item into your SP Library, is it right?

 

If you want to add a new folder in your SP Library, I think the "Create new folder" action of SharePoint connector could achieve your needs.

In addition, if you want to get the submitted List Item data from your canvas app within your flow, you need to define another parameter in your flow to receive the List Item ID value of the submitted record from your canvas app. With the received List Item ID value, you could add a "Get item" action to get the submitted List Item record value, then you could reference it within your  "Create new folder" action.

I have made a test on my side, please consider take a try with the following flow's configuration:

5.JPG

 

6.JPG

 

After that, you need to remove the flow connection from your canvas app, then re-add a new connection to above flow from your canvas app, make the changes you made in your flow take effect in your canvas app. Then execute the 'Flow Name'.Run() formula again.

Note: Except for the previous arguments within this 'Flow Name'.Run() formula, you need to provide the List Item ID value of the submitted record for the additional argument you added in your above flow.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper V
Helper V

Re: Upload file & Folder name

This video may help.
https://youtu.be/ni2i_qgq_Vo

🙂

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,108)