Before developing the lists, SharePoint content
types and site columns we need to understand what SharePoint list is, content
types etc. And why do we have to create them in the SharePoint site.
Lists are data containers in SharePoint,
where you can store the data of different data types. In SharePoint this
content will get stored in the database and the content is very important for
any organization.
A
site column is a reusable column definition, or template,
that you can assign to multiple lists across multiple SharePoint sites.
Content
types are used to manage the different types of metadata
(columns).
It is a reusable collection of metadata with
event receivers, workflows and other settings for the group of items in a
SharePoint list or library.
ü Open the site and go
to site settings.
ü
Here we can find Site content types button click on that,
then we’ll get window like below.
ü
Click on Create link button to create site Content type.
Then it will redirect to below page.
ü
Enter the name which you want to give to content type.
ü
Select list content type in dropdown list.
ü
Select the group name to place the content type in that
or otherwise select new group and click on OK, it will create content type and
redirect to below page and we can find the content type here.
ü
Click on “Content Info” which you have created previously
and you will find window like below.
ü
Select custom Columns in dropdown list because I have
placed site columns in Custom Columns group.
ü
Select the columns which you want to add to the Content
types and click on Add then OK, now site columns are added to Content Type.
ü
Now we need to add this content type to list, so create
one list.
ü
Go to list settings then Advanced Settings in advanced
settings change the “Allow management of content types” to ‘Yes’.
ü
And again in list settings only you can see “Add from
existing site content types”.
ü
Click on that “Add from existing site content types”.
Then we can find page like below.
ü
Here we need to select the site content from which group
while creating the content type which you select to put this content type.
ü
Click on Add and then OK it will be added to the list,
the columns will be available in list.
ü
By default these columns will not display in the list we
need to modify the view of list.
ü
Go to modify list there will be available that columns
which we are added from content type we need to select that columns and click
on OK.
ü
The list will be appearing like below with the content
type (columns).
Credit goes to MadhuSudhan Aitipamula
Thank you.!
0 comments:
Post a Comment