将文档从一个库复制到同一网站集中不同站点中的另一个库 [英] Copy document from one library to another library in different site in same site collection

查看:87
本文介绍了将文档从一个库复制到同一网站集中不同站点中的另一个库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Designer工作流将文档从一个站点复制到同一网站集中同一站点中不同站点的库中?我们有一个流程定义了文档库,完成后需要将文档移到另一个位置 网站.

Is it possible to copy a document from one site to library in different site in same site collection using designer workflow?We have a process defined foe a document library when that is completed then documents needs to be move to another location in different site.

请提出建议

推荐答案

是的,可以使用Sharepoint Designer工作流将文档从一个库复制到同一网站集中的另一个库.您需要在工作流中使用下面的REST调用,其中您必须提供源和目标U
Yes is it possible to copy document from one library to another in the same site collection using sharepoint designer workflow. You need to use below REST call in workflow where you have to provide source and destination U
[%Workflow Context:Current Site URL%]/_api/web/getfilebyserverrelativeurl('<current document URL>')/copyto('<destination library URL including file name>',boverwrite=true)


这篇关于将文档从一个库复制到同一网站集中不同站点中的另一个库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆