https://MyServer/sites/MySiteCollection/_api/web/getfolderbyserverrelativeurl('Documents')/Files/GetbyUrl('Test.docx')/MoveTo(newurl ='/sites/MySiteCollection/MySubsite/Documents/Test.docx' ,flags = 1) 注意:我可以使用"MoveTo"移动文档方法可以在工作流程中将文档从一个库移动到另一个具有相同站点的库.我在"POSTMAN"中测试时遇到以下错误 解决方案 检查是否有此帮助: https://support.office.com/zh-CN/article/Move-or-copy-items-from-a-SharePoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc http://expert-advice.org/2017/01/movemigrate -sharepoint-list-itemsdocuments-metadata-version-history/ I am trying to move documents from parent site to sub-site using "moveTo" rest post method inside a SP Designer Workflow. I have set up the Workflow app permissions to Full control.https://MyServer/sites/MySiteCollection/_api/web/getfolderbyserverrelativeurl('Documents')/Files/GetbyUrl('Test.docx')/MoveTo(newurl='/sites/MySiteCollection/MySubsite/Documents/Test.docx',flags=1)Note : I am able to move documents using "MoveTo" method inisde workflow to move documents form one library to another withing same site.I get following error currently testing in "POSTMAN" 解决方案 Check if this help:https://support.office.com/en-us/article/Move-or-copy-items-from-a-SharePoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bchttp://expert-advice.org/2017/01/movemigrate-sharepoint-list-itemsdocuments-metadata-version-history/ 这篇关于SP 2013 Designer工作流程-无法使用"MoveTo"将文档从父站点移动到子站点方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-11 06:31