I would like to create multiple folders in a Sharepoint library based on selected values in a combobox.
I am trying to do this through powerautomate, but keep getting errors.
Below example, I want to create a folder called Test, and in this folder 3 folders (choice 1; choice 2 & choice 3)
Can anyone point me in how to fix this?
Solved! Go to Solution.
This would work:
Thanks for the help!
Unfortunately I have no experience with parse Json, may I ask how to generate the schema?
That is the beauty, you don't need to know. Just let the flow run once with a schema of {} and then go back in to view that run. Copy the output of the parse JSON. Go back in to edit the flow, select from sample, paste in, save up and you now have your JSON action complete with relevant schema.
Cannot rate compose and parse JSON enough for helping with Flows and troubleshooting Flows.
When I follow the explanation, I get the error below?
{
"errors": [
{
"message": "Invalid type. Expected Object but got Array.",
"lineNumber": 0,
"linePosition": 0,
"path": "",
"schemaId": "#",
"errorType": "type",
"childErrors": []
}
]
}
The error was that I was copying the raw output.
It works now, I am happy and would like to thank you for the help!
@Anonymous , thanks for your suggestion, I have just followed your suggestion steps, and its working fine,
but my requirement is a bit change seeing your kind support.
Requirement:
In a list, I have 3 columns, Project Name, Part Number & Supplier Name,
When a new list is created, it should create a Main folder with Project Name, and Subfolder must create with Part Number_Supplier Name then it should mini subfolder as shown in attachments.
Example,
Main Folder - Project 1
SubProject - Partnumber_Suppluer Name
Mini subFolder should create, 25 folders, Folder 1, Folder 2, Folder 3.....etc.
User | Count |
---|---|
162 | |
91 | |
68 | |
64 | |
63 |
User | Count |
---|---|
211 | |
157 | |
93 | |
81 | |
71 |