Sharepoint 工作流程:在哪里存储配置设置?
我目前正在编写一个 Sharepoint 工作流程,当用户将 Excel 文件保存到库时,该工作流程就会被激活。现在我需要处理这个文件并将某些信息存储到某个列表中。 存储配置设置(例如输出列表的名称、工作流需要处理的 Excel 列的名称等)的最佳方式是什么?
我知道似乎有很多不同的可能解决方案,例如 Web 配置、属性等。但由于我对 Sharepoint 完全陌生,所以我无法正确评估这些方法。哪一个对我来说最容易使用?
谢谢。
编辑:用 C# 编写的 Visual Studio 工作流程
I am currently writing a Sharepoint Workflow that is activated when a user saves an Excel file to a Library. Now I need to process this file and store certain information to a certain list.
Whats the best way to store configuration settings like the name of the output list, names of the Excel columns that the Workflow needs to process, etc?
I understand that there seem to be a lot of different possible solutions like web config, Properties, etc. But since I am totally new to Sharepoint, I cannot properly assess these methods. Which one is the easiest for me to use?
Thank you.
Edit: A Visual Studio Workflow, written in C#
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本文是一个很好的起点 六种方法在 SharePoint 中存储设置,但我个人会遵循 MSDN SharePoint 指导库 它使用属性包存储来实现分层配置管理器,该管理器允许您执行诸如场范围设置之类的操作,但会覆盖某些网站集/网站/列表等。
This article is a good starting point Six Ways to to store settings in SharePoint but personally I would be following the MSDN SharePoint Guidance Library which uses the Property Bag storage for their implementation of a hierarchical Configuration Manager which allows you to do things like a farm wide setting but overridden for certain site collections/sites/lists etc.