cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brandon_Lawler
New Member

Move, rename a file submitted in a Microsoft Form

Hi all,

 

I'm attempting to build a Microsoft Form for our employees to use to submit structured documents on a regular basis. I want to use an Automated Flow to handle the response.

 

  • Question 1 contains an identifier (a site location) that is selected by the employee from a list
  • Question 2 allows for the upload of DocumentType1
  • Question 3 allows for the upload of DocumentType2
  • Question 4 allows for the upload of DocumentType3

In a separate SharePoint, there exists a folder for each location specified in Question 1, and subfolders for each Document Type:

OtherSharepoint\Logs\LocationName1\DocumentType1\

OtherSharepoint\Logs\LocationName1\DocumentType2\

OtherSharepoint\Logs\LocationName1\DocumentType3\

 

For each of the three document types, I want my flow to move the uploaded document to the appropriate folder and rename it with today's date. For example for DocumentType1, I want it to move to:

 

OtherSharepoint\Logs\LocationName1\DocumentType1\TodaysDate.pdf

 

I am having trouble extracting the data from Question 1 and using it in the "Move" action for SharePoint. I can't find documentation for how to pull the content of the responses and use it dynamically in the destination. Any insights on how to do this?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Brandon_Lawler,

 

Please refer to this post to learn how to get the file content of the upload file in MS Form:

https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa...

After that, you can create a file in a folder, it is equals to move a file, when you create the file you can rename it:

Annotation 2020-01-07 102947.png

 

Best Regards,
Community Support Team _ Lin Tu
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

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Brandon_Lawler,

 

Please refer to this post to learn how to get the file content of the upload file in MS Form:

https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa...

After that, you can create a file in a folder, it is equals to move a file, when you create the file you can rename it:

Annotation 2020-01-07 102947.png

 

Best Regards,
Community Support Team _ Lin Tu
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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,665)