SharePoint 2013 - SPLessons

SharePoint Feature.XML

Home > Lesson > Chapter 63
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

SharePoint Feature.XML

SharePoint Feature.XML

In a Feature.xml file, the Feature element defines a Feature and specifies the location of assemblies, files, dependencies, or properties that support the Feature. [xml] <Feature Id="11111111-1111-1111-1111-11111111111" Title="Location Services" Description="This Feature contains lists and parts that let you link location data to your customer lists." Scope="Web"> <ActivationDependencies> <ActivationDependency FeatureId="11111111-1111-1111-1111-111111111111" /> </ActivationDependencies> <ElementManifests> <ElementManifest Location="Location\LocationPart.xml"/> <ElementManifest Location="CustomerLocation\CustomerLocationList.xml"/> <ElementFile Location="test.aspx"/> </ElementManifests> <Properties> <Property Key="Color" Value="Blue"/> <Property Key="Shape" Value="Triangle"/> </Properties> </Feature> [/xml]