如何在共享点设计器中将任务附件传递到任务工作流程链?

发布于 2024-09-08 10:54:18 字数 220 浏览 1 评论 0原文

我正在开发一个涉及一系列任务的工作流程。该链在创建特定列表项时自动启动。该工作流在另一个列表中创建一个新的“只读”列表项来保存所有信息,并创建一个新的任务项来收集更多信息。然后,这个新任务用其新数据更新“只读”列表项,并创建链中的下一个任务。

初始列表项可以包含附件。如何将这些附件传输或链接到新的只读列表项?

我只有共享点设计器,由于公司 IT 限制,无法在代码中实现它。 (或者我可以吗?)

I am developing a workflow which involves a chain of tasks. This chain is started atomatically on the creation of a specific list item. The workflow creates a new "readonly" list item in another list to hold all the information and creates a new task item to collect more info. This new task then updates the "readonly" list item with its new data and creates the next task in the chain.

The initial list item can have attachments. How can I transfer or otherwise link these attachments to the new readonly list item ?

I only have sharepoint designer and cant implement this in code due to corporate IT restrictions. (or can I?)

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

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

发布评论

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

评论(1

伏妖词 2024-09-15 10:54:19

好吧,我有一个计划,但还没有人看过这个问题。

我将编辑 NewForm.aspx 并包含 javascript 以捕获 PreSaveAction 中的文件上传字段。然后使用 javascript 调用 updateListItems Web 服务以在附件列表中创建项目。创建这些项目会触发一个工作流程,该工作流程将附件名称与原始列表的附件目录的 URL 连接起来。然后我需要做的就是在创建原始列表项时获取 Id,并将其添加回串联链接中以完成它们。
然后链中的每个任务都可以将链接的串联列表拉回到原始附件。

简单

让我们看看进展如何!
还有其他想法吗?

Ok well I have a plan and nobody has even looked at this question yet.

I will edit the NewForm.aspx and include javascript to capture the fileupload fields in a PreSaveAction. Then call updateListItems Web Service with javascript to create items in an Attachments list. Creating these items triggers a workflow that concatentaes the attachment names together with the URL of the attachment directory for the original list. Then all I need to do is grab the Id from the original list item when its created and add that back into the concatenated links to finish them.
Then each task in the chain can pull out the concatenated list of links back to the original attachments.

easy

Lets see how it goes!
Anybody any other ideas?

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