none
What is difference between Feature.xml, Manifest.xml, Elements.xml & Onet.xml in SharePoint? RRS feed

  • Question

  • hi,

    Please somebody elaborate What is difference between Feature.xml, Manifest.xml, Elements.xml and Onet.xml in SharePoint?  

    I have seen many articles over internet but not getting exact difference between these four files?

    Monday, November 3, 2014 6:03 AM

Answers

  • Feature.xml - "Defines a Feature and specifies the location of assemblies, files, dependencies, or properties that support the Feature."

    Manifest.xml -"Manifest.xml file is used during the deployment of a .wsp solution package.  It tells SharePoint what files to copy, what features to install, where to put your binaries, adds SafeControl entries, as well as set code access security."

    Elements.xml -"This is a definition file for the module." 

    Onet.xml - Depending on where an Onet.xml file is located and whether it is part of a site definition or a web template, the markup in the file does some or all of the following:

    • Specifies the web-scoped and site collection-scoped Features that are built-in to websites that are created from the site definition or web template.

    • Specifies the list types, pages, files, and Web Parts that are built-in to websites that are created from the site definition or web template.

    • Defines the top and side navigation areas that appear on the home page and in list views for a site definition.

    • Specifies the list definitions that are used in each site definition and whether they are available for creating lists in the user interface (UI).

    • Specifies document templates that are available in the site definition for creating document library lists in the UI, and specifies the files that are used in the document templates.

    • Defines the base list types from which default SharePoint Foundation lists are derived. (Only the global Onet.xml file serves this function. You cannot define new base list types.)

    • Specifies SharePoint Foundation components.

    • Defines the footer section used in server email.

    http://msdn.microsoft.com/en-us/library/ms474369(v=office.14).aspx


    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

    Monday, November 3, 2014 6:34 AM
    Moderator