如何在列表中的SharePoint库中指示文档的存在? [英] How to indicate presence of a document in a SharePoint Library within a list?

查看:65
本文介绍了如何在列表中的SharePoint库中指示文档的存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的老板要求我提供一个SharePoint解决方案,该请求可能超出了我作为管理员可以做的事情.我猜想我们需要开发人员来完成此任务,但不幸的是,这并非如此 可能是由于资金以及我们的项目即将结束而导致的.

无论如何,以为我会在这里摆姿势,看看也许有人有什么想法.

我被要求做的是建立在现有SharePoint 2013项目列表的基础上.在此列表中,我们要添加其他列.这些列的目的是根据日期指示SharePoint文档中特定文档的存在. 图书馆.例如,对于项目A,我们想在标题为文档1"的列下针对该项目的特定行中,指出文档库中是否存在与列表中的项目名称具有相似命名约定的文档,以及是否存在 如果确实存在,则该特定项目的列中将显示文档的最后更新日期或发布到文档库中的日期.

为了实现此目的,似乎需要幕后逻辑,该逻辑不断监视特定列的相关文档库,并解析文档库中的所有文件名,并将日期插入列中 查找相关文档的位置.如果未找到任何文档,则该特定列或行将不会填充任何日期信息.

奖励功能是将显示的日期超链接到文档库中的实际文档.

衷心感谢任何人在这方面的任何反馈和想法.

最好的问候,

克里斯 


解决方案

嗨克里斯,

根据您的要求,您可以尝试在列表中的SharePoint Designer 2013中使用工作流.使用调用Http Web服务"操作来获取并循环文档库中的文档文件名,以与相关项目标题进行比较.

参考:

SharePoint Designer调用HTTP Web服务以在其他网站(集合)中创建项目

https://wonderlaura.com/2014/08/01/通过多个共享点项目进行工作流循环/

最诚挚的问候,

Grace Wang


I have a request from my employer for a SharePoint Solution that is likely outside of the box of what I can do as an Administrator. I’m guessing we need a developer to accomplish this, which unfortunately isn’t likely to happen due to funding and the fact that our projects are coming to a close.

In any case, thought I’d pose the scenario here and see if perhaps anyone has some ideas.

What I’ve been asked to do is to build upon an existing SharePoint 2013 list of projects. In this list, we want to add additional columns. The purpose of these columns is to indicate the presence, based on date, of a particular document in a SharePoint document library. For example, for Project A, we want to indicated in a specific row for that project under the column entitled 'Document 1' whether a document with a similar naming convention as the project name in the list exists in the document library, and if it does exist, the date the document was last updated or posted in the document library is displayed in the column for that particular project.

Seems to me in order to make this happen, there needs to be some behind the scenes logic that continuously monitors the document library in question for a particular column, and parses all the file-names in the document library, inserting dates into the columnrow where it finds related documents. If no documents are found, then that particular colum or row will not be populated with any date information.

Bonus function would be to have the date displayed be hyperlinked to the actual document in the document library.

Truly grateful for any feedback and thoughts anyone has in this regard.

Best Regards,

Chris 


解决方案

Hi Chris,

For your requirement, you can try to use workflow in SharePoint Designer 2013 in the list. Use "Call Http Web service" action to get and loop the document file name in the document library to compare with relevant project title.

Refence:

SharePoint Designer Call HTTP Web Service to create item in other Site (Collection)

https://blog.portiva.nl/2016/11/03/sharepoint-designer-call-http-web-service-to-create-item-in-other-site-collection/

Workflow Loop Through Multiple SharePoint Items

https://wonderlaura.com/2014/08/01/workflow-loop-through-multiple-sharepoint-items/

Best regards,

Grace Wang


这篇关于如何在列表中的SharePoint库中指示文档的存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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