How to create a feature stapler for all webtemplates?
-
03-10-2020 - |
سؤال
I have created a delegate control and try to provision it to all new site collections. It is working now only for the web template "MySite".
How to make it possible to provision this feature for all web templates?
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<FeatureSiteTemplateAssociation Id="{464b78de-c14e-4c88-bd52-00136fc899f4}" TemplateName="SPSPERS#2" />
</Elements>
المحلول
Use GLOBAL
as TemplateName
.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<FeatureSiteTemplateAssociation Id="{464b78de-c14e-4c88-bd52-00136fc899f4}" TemplateName="GLOBAL" />
</Elements>
لا تنتمي إلى sharepoint.stackexchange