This topic has not yet been rated - Rate this topic

ElementFile Element (Feature)

Windows SharePoint Services 3

Specifies a support file required for the Feature.


<ElementFile
  Location = "Text">
</ElementFile>
Attribute Description

Location

Required Text. Specifies the relative file path to a support file for the Feature, for example, "controls\searcharea.xml".

Minimum: 0

Maximum: Unbounded

For an example of how this element is used, see Feature.xml Files.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
More detail on ElementFile
Use this node to list all the non-element manifest files in your Feature. This will make it so you only have to specify the Feature definition (feature.xml) within the manifest.xml for your solution as SharePoint will look to your Feature definition to see what files should be deployed alongside the Feature definition & element manifest files. More info here: http://www.andrewconnell.com/blog/archive/2007/09/27/6120.aspx