将共享点工作流程从开发迁移到测试再到生产
我们是 sharepoint 新手,正在创建 sharepoint 2010 环境。第一个项目是一个具有 23 个不同工作流程的网站。我们已使用 SharePoint Designer 在开发环境中使用工作流创建了网站。为了将工作流迁移到我们的测试环境,我们使用 SharePoint Designer 将所有 23 个工作流导出到 23 个 .wsp 文件中。然后,我们将它们导入到测试环境中的解决方案库中,并在测试站点上激活它们。
虽然这很有效,但很麻烦并且需要花费很多时间。有更好的办法吗?我尝试过在网上搜索,但到目前为止还没有找到任何东西。您如何处理从开发到测试再到生产的迁移?你会在每个环境中进行重建吗?是否有第三方提供解决方案或工具?
We are new to sharepoint and creating a sharepoint 2010 environment. The first project is a site with 23 different workflows. We have created the site with the workflows in our development environment using SharePoint Designer. To migrate the workflows to our test environment, we exported all 23 workflows using SharePoint Designer into 23 .wsp files. We then imported these into the solution gallery in our test environment and activated them on the test site.
While this worked, it was cumbersome and took a lot of time. Is there a better way? I have tried searching online, and so far have failed to find anything. How do you handle your migration from dev to test to production? Do you recreate in each environment? Is there a 3rd party that offers a solution or tooling?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道第 3 方工具,但我总是更喜欢在 Visual Studio 中工作而不是 SharePoint Designer + UI。如果将 *.wsp 文件重命名为 *.cab 文件,则可以获取 *.wsp 的可部署内容并将它们放入单个解决方案中,该解决方案将生成单个 *.wsp 文件。
此外,使用 Visual Studio 还允许您执行其他巧妙的操作,例如通过功能接收器自动将工作流程与特定命名列表关联起来。
I don't know about a 3rd party tool, but I always prefer working in Visual Studio than SharePoint Designer + UI. If you rename your *.wsp files to *.cab files, you can grab the deployable contents of the *.wsp and put them into a single solution which will generate a single *.wsp file.
Also, using Visual Studio will allow you to do other neat things like automatically associate your workflows with specific named lists via a Feature Receiver.