SharePoint Project Item Replaceable Parameters

可以通过 Replaceable parameters 让SharePoint 2010的部署变的更加便捷。

MSDN 中有详细的说明 http://bit.ly/d6FESZ

其中 $SharePoint.Feature.Id$ :The SharePoint ID of the containing feature. This token, as with all feature-level tokens, can be used only by files included in a package via a feature, not added directly to a package outside of a feature.

当用到$SharePoint.Feature.Id$ 这个参数是 我们就可以很方便的定位那些文件是那个FEATURE 激活的,这样可以方便的跟踪文件的部署情况。基于这个灵感我们就可以做一个类似VISUAL STUDIO 部署一样的工具。  下一篇关于部署会介绍这方面的一些做法。

posted @ 2012-03-19 23:41  SharePoingGuy  阅读(189)  评论(0编辑  收藏  举报