Contents
How to add components to a custom site?
Configure your custom site type to use a custom file dialog post processor or a custom external security provider. Do this by adding a Components element as a child of the Project element. For more information, see Components Element (Site) and the topics for its child elements.
What does custom site type mean in HTML?
Sometimes a custom site type is a recombination of built-in lists types, content types, column types, and other Features that is different from any built-in site type.
Can you have more than one site definition in Visual Studio?
The Visual Studio Site Definition project, and this documentation, generally assume that you will have only one site definition; that is, one Template element in your WebTemp*.xml file; although, again, you can have multiple custom site types, that is, multiple configurations, within the site definition.
Do you use spaces in a site definition?
By convention, site definitions are named using all uppercase letters and contain no spaces or other characters. If you will have more than one configuration in your site definition, consider that this term functions as the name of a family of custom site types, so it should be appropriate for that role.
Is there procedural code in creating a custom site definition?
There is no procedural code involved in creating a custom site definition. It is an entirely declarative development task. Primarily, it involves adding Collaborative Application Markup Language (CAML) markup to two critical files: a WebTemp*.xml file and an Onet.xml file.
How is the functionality of a custom element defined?
The functionality of a custom element is defined using an ES2015 class which extends HTMLElement. Extending HTMLElement ensures the custom element inherits the entire DOM API and means any properties/methods that you add to the class become part of the element’s DOM interface.