Forum Discussion
Marc-Etienne_Tremblay
Aug 05, 2022Brass Contributor
How use REST API to create or move document set in SPD 2013 workflow
Hi, I have found this 2 posts on the forum, but I need help to merge the information together. https://techcommunity.microsoft.com/t5/sharepoint-developer/creating-a-document-set-with-the-s...
Marc-Etienne_Tremblay
Aug 26, 2022Brass Contributor
Hello,
I finish by fin than I could make a copie of a document set if I use a 2010 workflow in SPD 2013.
So now I could create a new docset in may archive list and copy all properties of the original docset than I have put in variable. But this make only a copy of the docset folder and do not take the file in the docset of the first list to make a copy in the second.
But with this 2010 workflow I dont need to use REST API command.
Now I search to copy the file (docx, pdf, etc) from the original docset folder in the new one.
I finish by fin than I could make a copie of a document set if I use a 2010 workflow in SPD 2013.
So now I could create a new docset in may archive list and copy all properties of the original docset than I have put in variable. But this make only a copy of the docset folder and do not take the file in the docset of the first list to make a copy in the second.
But with this 2010 workflow I dont need to use REST API command.
Now I search to copy the file (docx, pdf, etc) from the original docset folder in the new one.
- Marc-Etienne_TremblayOct 12, 2022Brass ContributorHello,
I find than if I edit the properties of the files in one docset.
The URL include the ID of the file.
If I add in my workflow a variable where I give the ID of the file I could extract the name of it.
But my only way actualy to find the ID of the file is to edit the properties and check the URL.
I find how catch the ID of the content type associate to my file in the document set, but I dont find how I could specify in the workflow than I want the file ID and not the content type id.