Forum Discussion
CalumWelsh
Oct 13, 2021Copper Contributor
Flow - Create new list then copy items from another list
I am attempting to create a new list then copy items from a master list into the new list. My problem is that at the time of writing the flow, the new list does not exist yet. I can use a variabl...
- Oct 14, 2021My brain kicked in overnight 😉
Use an HTTP request: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#create-list-item
I have a hard-coded version working at the moment. I'm hopeful that by parsing the list structure of the master list, I can grab the format of the new list to populate dynamically.
These two links were also helpful:
https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flow-using-a-rest-api
https://powerusers.microsoft.com/t5/Building-Flows/use-flow-to-update-various-sharepoint-group-sites/td-p/547835
CalumWelsh
Oct 14, 2021Copper Contributor
My brain kicked in overnight 😉
Use an HTTP request: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#create-list-item
I have a hard-coded version working at the moment. I'm hopeful that by parsing the list structure of the master list, I can grab the format of the new list to populate dynamically.
These two links were also helpful:
https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flow-using-a-rest-api
https://powerusers.microsoft.com/t5/Building-Flows/use-flow-to-update-various-sharepoint-group-sites/td-p/547835
Use an HTTP request: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#create-list-item
I have a hard-coded version working at the moment. I'm hopeful that by parsing the list structure of the master list, I can grab the format of the new list to populate dynamically.
These two links were also helpful:
https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flow-using-a-rest-api
https://powerusers.microsoft.com/t5/Building-Flows/use-flow-to-update-various-sharepoint-group-sites/td-p/547835