在SharePoint工作流程中查找文档库项目 [英] Looking up document library items in a SharePoint workflow

查看:92
本文介绍了在SharePoint工作流程中查找文档库项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用SharePoint Designer创建工作流.我试图在定义工作流程查找"对话框中找到文档库中的子文件夹.这有两个问题:

I using SharePoint Designer to create a workflow. I'm trying to get at a sub-folder in a document library in the "Define Workflow Lookup" dialog. There are two issues with this:

  1. 我无法通过URL路径查找项目.如果按标题查找,我可以 输出网址路径,但按路径选择无效.什么 字段可以/不能使用吗?
  2. 我找不到任何子文件夹.我可以找到顶层文件夹, 但是子文件夹似乎不可用.注意到一样 在查看文档库中的数据时,情况是正确的 设计器中的数据源库".
  1. I can't look up items by URL Path. If I look up by Title, I can output the URL Path, but selecting by path doesn't work. What fields can/can't I use?
  2. I can't get at any sub-folders. I can get at the top-level folder, but the sub-folders don't seem to be available. Noticed the same things is true when looking at the data for a document library in the "Data Source Library" in Designer.

为澄清起见,工作流位于其他列表中,而不在文档库中.

To clarify, the workflow is on a different list, not on the document library.

UPD:另外,我知道如何通过对象模型执行此操作,问题是如何在SharePoint Designer中执行此操作而不将代码部署到服务器上.

UPD: Also, I know how to do this through the object model, the question is how to do it in SharePoint Designer without deploying code to the server.

推荐答案

我对Sharepoint确实没有太多经验,但是我认为我至少可以提供 some 答案-即使它是错误的一个.

I really don't have much experience with Sharepoint, but I thought I could at least provide some answer - even if it's the wrong one.

我曾与另一位开发人员交谈过,这听起来很难进入任何子文件夹,因此您可能需要考虑制作自己的自定义工作流程.

From another dev I've spoken to it sounds like it's tough to get into any subfolders, so you might need to look at making your own custom workflow.

也许像LINQ to Sharepoint之类的东西可能能够帮助您实际进入并枚举子文件夹并获取所需的数据? LINQ到Sharepoint

Maybe something like LINQ to Sharepoint might be able to help you with actually getting in and enumerating the subfolders and getting to the data that you need? LINQ to Sharepoint

这篇关于在SharePoint工作流程中查找文档库项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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