这是我创建一个站点的场景
,其中使用了自定义列表、Web 部件、自定义开发的 Web 部件、工作流程等。 您可以将该网站视为一个应用程序。
我想做的是创建一个解决方案包,其中包含我在该站点中构建的所有内容,以便我可以将解决方案文件提供给共享点管理员,后者可以将解决方案安装到他的共享点环境中。
例如,查看可以从 MSDN 下载的免费应用程序模板,我正在尝试实现与他们相同的目标。 一个解决方案文件可以容纳所有这些!
有任何想法吗?
干杯!
Here's the scenario
I created a Site which in I used custom lists, webparts, custom developed webparts, workflows et cetera. You can see the site as an application.
What I am trying to do is to create a solution package which holds everything I build in that site so that I can give the solution file to an sharepoint administrator who can install the solution to his sharepoint environment.
For example look at the free application templates you can download from MSDN, I am trying to achieve the same as they did. One solution file to hold them all!
Any idea's?
Cheers!
发布评论
评论(3)
获取 STSDev 和 SharePoint 管理器。 STSDev 非常适合创建您想要的解决方案,并且 SharePoint Manager 可用于从您已创建的自定义中获取 SchemaXML。
您需要打包 Web 部件和所有内容。 不幸的是,这是一个相当大的学习曲线,因此需要对这个主题进行大量阅读并进行一些实验。 然而,这是值得花时间的,因为解决方案是发布自定义站点定义的“唯一”方法。
Get STSDev and SharePoint Manager. STSDev is goog for creating the solution you want and SharePoint Manager can be used to get the SchemaXML from the customisations you have already created.
You will need to package up the webparts and everything. Unfortunately, this is a pretty hefty learning curve, so expect to do a lot of reading on this subject and some experimentation. However, this is time well spent as a solution is the "only" way to release a custom site definition.
使用 SPD 创建的工作流程不能跨站点移植 - 必须重新创建它们。 因此,内森的解决方案可能是唯一的出路。
Workflows created using SPD are not portable across sites - they will have to be recreated. As a result, Nathan's solution is probably going to be the only way to go.
将网站导出为模板并包含所有内容。 我相信工作流程将指向旧站点,并且需要手动更新。 其他一切都应该有效。
Export the site as a template and include all the content. The workflows will point at the old site and will need to be updated manually, I believe. Everything else should work.