问题标签 [sharepoint-designer]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2429 浏览

sharepoint - Looking up document library items in a SharePoint workflow

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. 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: 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.

0 投票
3 回答
22184 浏览

sharepoint - 如何使用 SharePoint Designer 在 SharePoint 中添加 Web 部件区域

我需要将 Web 部件区域添加到 wiki 页面。我正在使用 SharePoint Designer 打开页面,但似乎没有明显的方法(例如菜单)来添加 Web 部件区域。

0 投票
4 回答
13899 浏览

sharepoint - 在 sharepoint 设计器的工作流编辑器中,如何获取工作流发起者用户名?

在 Sharepoint 设计器的工作流编辑器中,我希望检索工作流发起者的用户名/名称(即谁启动它或触发了工作流) - 这相对容易使用 3rd 方产品,如 Nintex Workflow 2007(我会使用类似 {Common:Initiator}) - 但我似乎无法找到任何开箱即用的方法来使用共享点设计器和 MOSS 2007 做到这一点。

更新

OOTB 看起来并不支持这个相当明显的功能,所以我最终编写了一个自定义活动(如其中一个答案所建议的那样)。我在这里列出了活动代码以供参考,尽管我怀疑博客上可能有一些这样的实例,因为它是一个非常简单的解决方案:

然后将其与以下 .action xml 文件连接起来:

0 投票
1 回答
1095 浏览

sharepoint - Required Fields in Share Point data collection not throwing errors

I have created a workflow in Share Point Designer on our MOSS2007 dev server. (No one is allowed to have access to write .NET code yet as company policy)

In this workflow I am collecting data from the user, and both of my custom content types I created are marked as required, but the page isn't tossing errors when I don't supply values; not client side nor server side.

I checked the ..xoml.wfconfig.xml file and set the properties for required to true, I set the content type to required, and I used Share Point design to mark them as required. Nothing.

This is a out of the box installation except for the master page and style sheets. To make sure it wasn't that, I reverted to an out of the box style sheet.

Any ideas on what else to check / set?

0 投票
7 回答
33386 浏览

css - 如何自定义 SharePoint 列表项的打印布局?

我需要能够生成单个列表项值的“漂亮”打印输出,目标是:

  • 摆脱所有导航
  • 组织数据,就像它出现在典型的纸质表格上一样(客户要求)

由于其他问题,我目前避免使用 InfoPath(我将针对这些问题发布单独的问题......)

例如,我有一个单独的列表项,通常显示类似于以下DispForm.aspx 示例

SharePoint - DispForm.aspx

我需要一个打印版本 ( PrintForm.aspx??),其显示类似于以下示例

SharePoint - PrintForm.aspx

据我所知,我不能仅仅通过修改/创建自定义 CSS 来做到这一点。

似乎我不能仅仅通过创建自己的“打印”版本来做到这一点DispForm.aspx

任何建议、想法、链接都会非常有帮助。

0 投票
2 回答
8140 浏览

sharepoint - 如何将下拉列表绑定到 Sharepoint 2007 中的网格视图?

这应该是一件非常简单的事情,但由于某种原因,它只是在逃避我。

我想要一个 Sharepoint 页面,该页面将有一个与数据库查找表相关联的下拉列表。

当一个项目被选中并且他们点击一个 GO 按钮时,我希望它更新一个也在页面上的 gridview。

我正在寻找一个简单的方法 - 同时假设我是一个共享点白痴。顺便说一句,我正在使用 Microsoft Office Sharepoint Designer。

谢谢,

编辑:我的需求其实很简单。我想使用下拉列表过滤查询结果。这曾经被称为主从关系。

例如,我的常规数据有学校名称、应用程序名称以及应用程序运行的时间。因为每所学校可能有一百个申请,并且有 60 多所学校,我只想一次显示一所学校的信息。

所以,我想在屏幕顶部放置一个下拉列表,其中包含学校列表。选择一个时,应更新网格视图以反映新的学校信息。

克里斯。

0 投票
2 回答
498 浏览

asp.net - 在 SharePoint 中自动发布 .aspx

我目前在 SharePoint 中发布 .aspx 后面的代码。我可以自动将 .dll 发布到虚拟目录的 bin 文件夹,但我不知道如何在不手动使用 SharePoint Designer 的情况下将 .aspx 页面和图像推送到服务器。

文件夹在哪里?

或者我需要为此创建一个 SharePoint 功能吗?

0 投票
2 回答
1095 浏览

visual-studio-2008 - SharePoint Designer 有什么好的替代品吗?

如果您曾经使用过 SharePoint Designer,您就会知道它很糟糕。特别糟糕。

有什么好的替代品吗?如果我想构建自己的 Visual Studio 加载项连接器以连接到它,是否有任何必须考虑的因素?

你知道我应该注意什么吗?

我只是讨厌缓慢和 SPD (SharePoint Designer) 只是不断地重新整理我所有的东西的方式。

0 投票
2 回答
3284 浏览

workflow - 单个工作流可以生成多个列表项吗?

我想要一个工作流,当在列表 A 中创建条目时,将为列表 C 中的每个条目在列表 B 中生成一个条目。这可能吗?如果是这样,怎么做?

0 投票
4 回答
4643 浏览

sharepoint - 如何在共享点设计器中插入查询值作为参数?

我正在尝试在 SharePoint Designer 中创建一个通过 XML Web 服务连接到 SharePoint 列表的数据源。我已经创建了数据源并连接到有问题的列表。我可以使用 GetListItems 查看所有数据,并且我想使用查询参数对其进行过滤。

查询参数需要一个 XmlNode,当我把它作为值时,我得到一个错误:

当然,我没有输入任何选项卡或换行符,因为我在 SharePoint Designer 中只有一个输入字段。我收到此查询的错误:

尝试从数据源获取数据时,服务器返回了一个非特定错误。检查查询的格式和内容,然后重试。如果问题仍然存在,请联系服务器管理员。

我只是想将列表项结果集过滤为标题字段为“Foo”的列表项。这可以在 SharePoint Designer 中完成吗?


更新:以这种方式转义 < 和 > 也会失败:


更新:这似乎是SoapDataSource 组件和 SOAP 调用的一个已知问题。显然,他们在提交之前对 <'s 和 >'s 进行了过度编码。给出的解决方法是在没有查询参数的情况下保存数据源,然后将其添加到页面并在 Common Data View Tasks 对话框中创建过滤器。我能够使用以下过滤器字符串使其工作:

不幸的是,这对我没有多大帮助,因为我正在添加一个数据视图(显示数据)而不是一个数据源,我可以使用它来将其他控件指向(如下拉列表)。

我仍在寻找一个好的解决方案,让我可以使用 SharePoint Designer 放置数据源。