将电子邮件文件路由到Sharepoint文件夹,并根据日期自动为其创建子文件夹 [英] Route email files to Sharepoint folders and automatically create sub folders for it based on date

查看:98
本文介绍了将电子邮件文件路由到Sharepoint文件夹,并根据日期自动为其创建子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我们要求我们根据元数据将上传到SharePoint库的电子邮件路由到各自的顶级文件夹。除此之外,将根据电子邮件的上一个日期
(减去一天)自动创建另一个子文件夹,其中包含文件夹名称。当天生成的所有电子邮件都将包含在相应的子文件夹中。我们每天收到几封电子邮件,因此我们希望为每个顶级文件夹创建大量子文件夹。希望这是有道理的。


你能告诉我这是否可以通过工作流程实现吗?我还在努力编程。我考虑过使用内容管理器,但我遇到了自动文件夹创建组件的问题。它只会根据内容类型的唯一
属性提供文件夹名称。我甚至不确定是否可以使用日期命名文件夹。




解决方案


我们可以每天使用带有作业的PowerShell代码创建一个文件夹,然后创建一个工作流程,使用Call HTTP Web将电子邮件文件移动到该文件夹使用REST API进行服务操作。


如果您不想使用PowerShell代码,我们还可以使用REST API工作流来实现文件夹。


以下文章供您参考。


如何在SharePoint 2013工作流程中使用REST API在文档库或列表中的列表项中创建文件夹


https://blogs.technet.microsoft.com/sharepointdevelopersupport/2014/09/29 /如何到创建-A-文件夹中的文档库 - 或 - 一个列表项-IN-A-列表 - 利用-rest-api-in-sharepoint-2013-workflows /


将文档移动到文件夹的SharePoint工作流程


http://www.documentmanagementworkflowinfo.com/ sharepoint-2013 / sharepoint-workflow-move-document-to-folder.htm


最好的问候,


Dennis


Hello,

We have a requirement where we would like to route emails uploaded to the SharePoint library to their respective top folders based on metadata. Aside from that, another sub folder will be automatically created with folder name according to the previous date (minus one day) of the email. All emails generated on that day will be contained on those respective sub folders. We get about several emails a day so we expect a lot of sub folders for each of our top folders to be created. Hope this makes sense.

Can you tell me if this is achievable though workflow? I'm still struggling with programming. I've considered using Content Organiser but I'm having issues with the Automatic Folder creation component. It would only provide folder name based on the unique property of the content type. I'm not even sure if I can use a date to name the folder.


解决方案

Hi,

We can create a folder daily using PowerShell code with job, then create a workflow to move email files to this folder using Call HTTP Web Service action with REST API.

If you don't want to use PowerShell code, we can also using workflow with REST API to achieve a folder.

The following articles for your reference.

How to create a folder in document library or a list item in a list utilizing REST API in SharePoint 2013 workflows

https://blogs.technet.microsoft.com/sharepointdevelopersupport/2014/09/29/how-to-create-a-folder-in-document-library-or-a-list-item-in-a-list-utilizing-rest-api-in-sharepoint-2013-workflows/

SharePoint workflow to move a document to a folder

http://www.documentmanagementworkflowinfo.com/sharepoint-2013/sharepoint-workflow-move-document-to-folder.htm

Best Regards,

Dennis


这篇关于将电子邮件文件路由到Sharepoint文件夹,并根据日期自动为其创建子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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