使用不同的文件名覆盖文档库中的文档 [英] Override a document in a document library with a different file name

查看:75
本文介绍了使用不同的文件名覆盖文档库中的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

我要求将文档(合同)上载到SharePoint库。稍后下载文档并进行更改。在更改期间,律师还使用一些前缀更改文件名。

I have a requirement where a document (Contract) is uploaded to a SharePoint library. Later the document is downloaded and changes were made. During the changes, the lawyers also change the file name with some prefix.

现在我想构建一个解决方案 - 单独的UI界面,允许律师查找原始文档,然后上传新文件。该解决方案应足够智能,可以使用新版本覆盖原始文档。

Now I want to build a solution - separate UI interface that will allow the lawyer to find the original document and then upload the new document. The solution should be intelligent enough to override the original document with a new version.

我使用的是SharePoint Online,使用Jquery或PnP Site脚本是可行的吗?如果是这样,任何提示。

I am using SharePoint Online it is something doable using Jquery or PnP Site scripts? If so, any hint.

谢谢

Aniruddha

Aniruddha

推荐答案

你好Aniruddha,

Hi Aniruddha,

按设计,如果文件名不一样,我们不能用新版本覆盖原始文件,它会在文件库中创建一个新文件。

By design, if the file name it not the same, we can't override the original document with a new version, it will create a new document in the document library.

如果文件名的前缀是固定的,我们不需要创建单独的UI,我们可以创建一个工作流来更改文件名。并查看版本历史记录中的原始文档。

If the prefix of the file name is fixed, we don't need create a separate UI, we can create a workflow to change the file name. And see the original document in version history.

如果文件名的前缀未修复,我们必须手动更改UI中的文件名。

If the prefix of the file name is not fixed, we have to change the file name in the UI manually.

最诚挚的问候,

丹尼斯


这篇关于使用不同的文件名覆盖文档库中的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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