Hey all,
Bit of a weird one, I'm still relatively new to the Power Suite, but learning real quick. I have a bit of a strange requirement, I want to be able to create a Sharepoint list from another (Essentially copy all the columns kinda like a template) using REST API.
I could essentially do the same thing by creating fields within a REST API and filling the columns like that. However, I do want to be able to add and/or remove columns, so I don't particularly want to be jumping in and out of the flow editor.
I've tried to use the POST method and 'GetByTitle' Uri, however having very little luck. I think I have gotten close a few times but with no luck. The below is what I consider the closest I've gotten (it ends up just renaming the List). Copying the items is not required at all, just the columns and their data type.
Hi @JordanW12,
Just approaching this a bit differently from a design point of view? Can't you create a Content type once and just assign that to your copied list?
This way you only have to create the columns once and even the maintenance becomes easier. Future updates can be done in one place (Content type gallery in the SharePoint admin center) and republished to all sites with lists using this content type.
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
43 | |
28 | |
25 | |
24 | |
23 |