Skip to main content

Posts

Showing posts with the label Site Column

SharePoint 2010 Web Content Management (WCM) Metadata – Site Columns & Content Types

For creating a page layout we need to create a custom content type. And for creating a content type, we need to create custom site columns. Below I will demonstrate how to create custom site columns declaratively. 1. Branding – Master Page & Custom Style Sheet   2. Metadata – Site Columns & Content Types 3. Page Layouts 4. Setting up deployment Paths & Jobs Step 1. Add empty element to the project. In the elements.xml file you can declare the columns like below. Declarative site columns can also be defined in content type’s Elements.xml file. But for clarity, I have created a new element and declared the site columns in here…   Different types of site columns – Text, Choice, Number & Note. And finally for displaying image… I have created site columns of different types, Text, Choice, Number, Note and URL. For Choice (drop down list) column we can add choices in the tag provided. For displaying image, we can choose a URL column and set the f...