SP 2013 Designer工作流程-无法使用"MoveTo"将文档从父站点移动到子站点方法 [英] SP 2013 Designer Workflow - Unable to move documents from parent site to subsite using "MoveTo" method
问题描述
我正在尝试使用"moveTo"将文档从父站点移动到子站点. SP Designer工作流中的rest post方法.我已将工作流程"应用权限设置为完全控制".
> https://MyServer/sites/MySiteCollection/_api/web/getfolderbyserverrelativeurl('Documents')/Files/GetbyUrl('Test.docx')/MoveTo(newurl ='/sites/MySiteCollection/MySubsite/Documents/Test.docx' ,flags = 1)
注意:我可以使用"MoveTo"移动文档方法可以在工作流程中将文档从一个库移动到另一个具有相同站点的库.
我在"POSTMAN"中测试时遇到以下错误
检查是否有此帮助:
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-1f5f0c1a87bc
http://expert-advice.org/2017/01/movemigrate-sharepoint-list-itemsdocuments-metadata-version-history/
这篇关于SP 2013 Designer工作流程-无法使用"MoveTo"将文档从父站点移动到子站点方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!