Sharepoint:创建链接以将项目添加到列表或启动工作流程

发布于 2024-10-15 05:04:23 字数 191 浏览 1 评论 0原文

我正在创建一个解决方案,其中涉及底部带有链接的文档(一种让员工阅读该文档的方法,然后单击“我已阅读此”按钮。

我们希望跟踪谁阅读了该文档一个列表,所以我希望用户单击按钮,并自动将一个条目添加到列表中(这将自动获取用户名和日期),如果更容易启动,也可以通过工作流程来完成。通过按钮的工作流程。

任一选项都有效 - 只是找不到所述解决方案。

I'm creating a solution that involves a document with a link at the bottom (a way to get staff to read the document, then click the "I have read this" button.

We want to keep track of who has read the document in a list, so I'd like for the user to click the button, and automatically add an entry to a list (which would just grab the username and date automatically). This can also be done through a workflow, if it's easier to start a workflow via a button.

Either option works - just having trouble finding said solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

情绪操控生活 2024-10-22 05:04:23

您有几个选项:

  1. 创建一个包含链接的 Web 部件。单击链接后,将一个项目写入列表。
  2. 如果您使用的是 SharePoint 2010,则可以使用客户端对象模型通过 javascript (http://msdn.microsoft.com/en-us/library/ee537247.aspx)
  3. 使用 JavaScript 在列表中创建列表项(适用于 SharePoint 2007)( http://weblogs.asp.net/jan/archive/2009/04/10/creating-list-items-with-jquery-and-the-sharepoint-web-services.aspx

关于工作流程选项:如果您使用的是 SharePoint 2010,则可以创建网站工作流(这很重要,列表工作流要求列表中已存在项目)来写入列表。如何以编程方式启动工作流程:http://www. sharepointkings.com/2008/09/how-to-start-workflow-programmatically.html

You have a few options:

  1. Create a webpart with the link in it. When the link is clicked, write an item to the list.
  2. If you're using SharePoint 2010, you can use the client object model to write an entry into the list using javascript (http://msdn.microsoft.com/en-us/library/ee537247.aspx)
  3. Use javascript to create a list item in the list (works with SharePoint 2007)(http://weblogs.asp.net/jan/archive/2009/04/10/creating-list-items-with-jquery-and-the-sharepoint-web-services.aspx)

Regarding the workflow option: If you're using SharePoint 2010, you can create a site workflow (this is important, list workflows require an item to exist in the list already) to write to the list. How to start a workflow programmatically: http://www.sharepointkings.com/2008/09/how-to-start-workflow-programmatically.html

南风起 2024-10-22 05:04:23

站点 URL/列表/(列表名称)/NewForm.aspx?

/NewForm.aspx?允许您创建 URL 链接以在列表中输入新项目

Site URL/Lists/(list name)/NewForm.aspx?

the /NewForm.aspx? allows you to create a URL link to enter a new item in the list

拔了角的鹿 2024-10-22 05:04:23

我们最近使用 Kyle 描述的 Web 部件选项在 SharePoint 2010 中实现了类似的功能。

但在创建 Web 部件之前,我们尝试了 循环列表来自新的开箱即用的小组工作功能。这个概念很准确,但它的用途相当狭窄(例如,为了提供您正在寻找的文档支持,需要将文档作为附件添加到列表项)。而且它的实现并不适合可扩展性。这是一次很好的首次尝试,希望微软能够在下一个版本中做到这一点。我只是提及它,以防万一它今天所做的事情适合您的情况。

We recently implemented something like this in SharePoint 2010 using the web part option that Kyle describes.

But before creating the web part, we tried the Circulation list from the new, out of the box Group Work feature. The concept is spot on, but its usage is pretty narrow (for example, to provide the document support you are looking for, the document would need to be added as an attachment to the list item). And its implementation does not lend itself to extensibility. It's a good first try and hopefully Microsoft will get it right in the next release. I only mention it just in case what it does today will fit your situation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文