Forum Discussion
Is there a way to show all OneDrive folders before a submition a Microsoft Form?
Hi Artem_Slonko,
your idea of streamlining the image upload process and automating the organization in OneDrive using Microsoft Forms is interesting.
Microsoft Forms does not have a built-in feature to display all OneDrive folders for selection before submission. Additionally, Forms doesn't directly support the dynamic creation of folders or the renaming of files based on user input.
The general approach should involve using Microsoft Power Automate. Here's a general concept:
Microsoft Forms Setup:
- Create a Microsoft Form with the necessary sections and questions, including the order number, folder selection, image uploads, and category selection.
- Ensure that the form is set up to collect the necessary information for renaming and organizing the images.
Power Automate Workflow:
- Create a Power Automate workflow triggered by the submission of the Microsoft Form.
- Use the "Get response details" action to retrieve the information submitted in the form.
- Use conditions and actions to rename the images based on the submitted data (order number, category, etc.).
OneDrive Integration:
- Use Power Automate actions to create folders dynamically in OneDrive based on the order number if they don't already exist.
- Move the uploaded images to the appropriate folder in OneDrive.
- Rename the images according to the specified naming convention.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
- Artem_SlonkoJan 22, 2024Copper Contributor
Alright. So, I made a try to build a simple upload project to my OneDrive. I use "Create File OneDrive" block.
I connected input with the output of Compose block and assigned properties like:
Input Create File | Output Compose
-------------------------------------------------------
Folder Path is a folder in | N/A
OneDrive disk |
--------------------------------------------------------
File Name | name
--------------------------------------------------------
Content of the file | link"link" is an actual link to SharePoint. If I copy and paste it I can see an image to my browser.
But
when OneDrive creates a file, the format is not readable even if the file is downloaded to PC.
That's weird.
What am I missing here?
Here is the output of the Compose block
Here is how the file looks like after creating
No preview, nothing. The file is damaged because it is not displayed even if I download it.