Question

I want to create a flow that automate the creation of lists using a REST API, well i figure out how to do it from the existing templates (like Custom list, Issue Tracking ... etc) using their BaseTemplate number, now i want to create the list from an existing List i already created and customised in my site.

enter image description here

As you know, we can create a list from an existing list in the interface, check below the picture:

enter image description here

Now i bet there is a way to automate this using the REST API, I just don't how or what kind of Information should I get in order to automate this.

Thanks.

Was it helpful?

Solution

I don't know if it is possible. What you can do is - create a content type with all your required columns. create a list in your actions and then add the content type to the list and make it default content type. Add content type using rest.

Or you can write managed code using Azure functions and call that in your flow. Change content type ordering using c#

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top