从列表创建讨论区消息的工作流程 [英] Workflow to create a discussion board message from a list

查看:82
本文介绍了从列表创建讨论区消息的工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要用来自定制SQL论坛的帖子和消息填充SharePoint Online论坛.我想在SP2013中也一样.我无法直接执行此操作,因此我创建了一个自定义列表,该列表将通过导出在数据表视图中填充 从SQL.目前正在测试.

当我将信息添加到自定义列表中时,在讨论中创建讨论主题很容易.创建消息也很容易,但是消息显示为讨论主题而不是消息.这是因为讨论"主题基于文件夹 内容类型,因此我需要将消息添加到正确的讨论主题"文件夹中.

我可以捕获文件夹的ID,因此我知道将其放置在哪里,并且我之前已通过工作流将项目添加到了文件夹中.但是,以前,我添加了文件夹的路径,但是在消息内容类型中,"Path"不是工作流中的选项.因此, 我将内容类型设置为消息",并将主题"设置为文件夹ID.我怀疑主题也需要包含路径,但我无法使其正常工作.

谁能帮忙.为了澄清,我只需要知道如何通过SharePoint工作流将消息发布到讨论"文件夹中.谢谢!

I need to populate the SharePoint Online discussion board with the posts and messages from a bespoke SQL forum. I guess it will be the same in SP2013. I can't do this directly so I've created a custom list which I will populate in datasheet view by exporting from SQL. At the moment I'm testing.

Creating the discussion topics in the discussion when I add the information to the custom list is easy. Creating the messages is also easy but the messages appear as discussion topics instead of messages. This is because Discussion topics are based on the folder content type, so I need to add the message to the correct discussion topic folder. 

I can capture the ID of the folder so I know where to put it, and I've added items to folders via workflow previously. However, previously, I added the path of the folder, but in the Message content type, "Path" is not an option in the workflow. Thus, I'm setting the content type to Message, and the Subject to the folder ID. I suspect the Subject also needs to contain the path but I can't get it to work. 

Can anyone help. To clarify, I just need to know how I post a Message into a Discussion folder via a SharePoint workflow. Thanks!

推荐答案

您好Derichleau123,

Hi Derichleau123,

您用来向帖子中添加消息的操作是什么?

What actions you used to add messages to a post?

根据我的测试,我使用创建列表项"操作并选择讨论区"列表,我只能将字段添加为正文",内容类型ID",问题",主题"等,但不能添加路径.请提供有关您的工作流程步骤的屏幕截图.

Per my test, I use "create list item" action and select the Discussion board list, I can only add field as Body, Content Type ID, Question, Subject and so on, but not path. Please provide the screenshots with us about your workflow steps.

此外,这是一则类似的帖子,供您参考:

Besides, here is a similar post for your reference:

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于从列表创建讨论区消息的工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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