简体   繁体   English

创建工作流解决方案以发送有关在SharePoint中创建新列表项的电子邮件

[英]Create a workflow solution to send an email on new list item creation in SharePoint

如何在Visual Studio 2013中创建工作流解决方案以在SharePoint O365列表中创建新列表项时发送电子邮件。

You could send email messages from a workflow in sharepoint-hosted app : 您可以在共享点托管的应用中通过工作流程发送电子邮件:

  1. Create SharePoint Hosted APP Project. 创建SharePoint托管的APP项目。

  2. Create list workflow. 创建列表工作流程。 Select the list on which you want to run the workflow, and creating new "WorkflowToHistory" and "WorkflowTaskList" for storing workflow history and task info. 选择要在其上运行工作流的列表,并创建新的“ WorkflowToHistory”和“ WorkflowTaskList”以存储工作流历史和任务信息。

  3. Choose the starting options accordingly. 相应地选择启动选项。 In this, you could to start the workflow automatically when an item added. 这样,您可以在添加项目时自动启动工作流程。

  4. Complete the workflow ,you should expand the SP – Utilities tab on the Toolbox then drag the Email activity onto the designer to send the email .For this part ,please click here for how to detail steps and refer to this link for a video . 完成工作流程,您应该在工具箱上展开SP –实用工具选项卡,然后将电子邮件活动拖到设计器上以发送电子邮件。对于此部分,请单击此处了解详细步骤,并单击视频链接

  5. Deploy the app and testing . 部署应用程序并进行测试。

In addition , since we are creating workflows in SharePoint Apps. 另外,由于我们在SharePoint Apps中创建工作流。 However this has been limited to the workflows living exclusively within the AppWeb where the app was installed. 但是,这仅限于仅在安装该应用程序的AppWeb中运行的工作流。 If you wanted to have the workflow run in a regular SharePoint site, such as a Team Site, or a non-AppWeb site , for example, deploy Workflows to Host Web , you could deploy as Integrated Workflow Apps . 如果您希望工作流在常规的SharePoint网站(例如工作组网站或非AppWeb网站)中运行(例如,将工作流部署到主机Web),则可以将其部署为集成工作流应用程序 Click this article about how to deploy site/List Workflow to host web , you could focus on list workflow part . 点击这篇文章有关如何部署网站/列表工作流的宿主网站,你可以专注于工作流程清单的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在自定义工作流sharepoint 2010中发送电子邮件 - Cannot send Email in custom workflow sharepoint 2010 在将新项目添加到列表后,如何基于模板创建新的共享点网站 - How to create a new sharepoint site based on a template after a new item is added to a List wpf-将新项目添加到sharepoint 2010列表 - wpf - add new item to a sharepoint 2010 list 使用沙盒解决方案对共享点列表项设置自定义权限 - Set custom permission on sharepoint list item using sandbox solution 有没有办法使用Microsoft.SharePoint.Client命名空间与其他用户创建新的列表项 - Is there a way to create a new list item with other user using Microsoft.SharePoint.Client namespace C#Outlook插件-在未发送该电子邮件的情况下将新项目创建到“已发送”框中 - C# Outlook Plugin - Create new item into Sent Box without send that email 以编程方式创建“SharePoint解决方案” - Create 'SharePoint Solution' programmatically 如何在Sharepoint上创建工作流应用 - How to create a workflow app on Sharepoint 如何获取SharePoint列表项作者的电子邮件地址? - How do I get the email address of the author of a SharePoint list item? 如何:使用自定义列表共享点工作流 - How to: sharepoint workflow with custom list
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM