开发者

How to get feature id in visual studio for feature stapling in SharePoint 2010?

开发者 https://www.devze.com 2023-04-06 02:56 出处:网络
I\'m about to try feature stapling for the first time and I read for example: http://msdn.microsoft.com/en-us/library/aa544294.aspx

I'm about to try feature stapling for the first time and I read for example: http://msdn.microsoft.com/en-us/library/aa544294.aspx and http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/b75a103c-0a6a-47c2-b80b-df821718b897/

What I don't get is how I get the feature GUID or do I make one up myself?

<FeatureSiteTemplateAssociation Id="[FEATURE GUID]"
TemplateName="BLOG#0" /&开发者_StackOverflowgt;

Thanks in advance.


there are several tokens available within SharePoint 2010 projects, which will be translated from MSBuild.

You can find more information on that topic on http://msdn.microsoft.com/en-us/library/ee231545(VS.100).aspx

Perhaps you have to add your file extensions as supported filetype for these tokens... Depends on your filetype..


john:
I right-clicked on the feature but saw no GUID in the properties. Double-clicked on the feature instead and got saw all properties by selecting the feature in the packaging explorer

0

精彩评论

暂无评论...
验证码 换一张
取 消