Deployment Manager: Custom Site Definition XML - akumina/AkuminaDev GitHub Wiki

Custom Site Definition XML

We use xml files throughout our SampleSite to provide information about our site to the Deployment App. Here we will go into detail about customizing them.

ContentTypes.xml

We define the Content Types we want added to our site in the ContentTypes.xml file within the ContentTypes folder. An example ContentTypes folder

Lists.xml

We define the lists we want added to the site in the Lists.xml file within the ListDefinitions folder. An example ListDefinitions folder

pages.xml

The PageContent folder will contain the pages.xml file. The pages.xml file contains the markup that will be deployed to the pages by the AddControlsToPages.cs step. An example PageContent folder

PageLayouts – Elements.xml

When we add new .aspx files to the PageLayouts folder, we need to customize the Elements.xml file, which informs the Deployment Manager App of what layouts to deploy. An example PageLayouts folder

Pages – Elements.xml

The Pages folder contains an Elements.xml file that designates that pages that are deployed to the Pages Library. An example Pages folder

References

To learn how to leverage the Deployment Manager SDK see the following articles: