Advertisement
To create a content type for a document
library user must have permissions with Full Control.
Now we will
create the content type as Excel step by step.
Step: 1
Navigate to the Site Settings->Web Designer galleries->click on Site Content Types->Click on Create
Navigate to the Site Settings->Web Designer galleries->click on Site Content Types->Click on Create
Enter the Name
as per our requirement
In our case I am
entering the name as DotnetSharePointExcel
Select
parent content type from:
Document Content Types
Parent Content Type
Document
Put this site content type into:
Custom Content Types for Existing Group
Click ok.
Finally Click on library ->in the top ribbon click on Files->Click on New Document ->there we can able to see the newly created document content type.
Document Content Types
Parent Content Type
Document
Put this site content type into:
Custom Content Types for Existing Group
Click ok.
Step 2:
Navigate to
library ->Top Ribbon click on Library Settings->Advanced
Settings->Allow management of content types to Yes ->Click ok.
Step: 3
Navigate to library ->Top Ribbon click on
Library Settings->In the Content Types-> Click on Add from existing
content types->In Available content types we can able to see the newly
created content type Select click on add, Once content type added Click
on ok.
Step: 4
Navigate to Library
->Top Ribbon Click on “Open with Explorer” ->Forms there we have to place
the template like EXCEL
Step: 5
Navigate to the
library settings->now we can able to see that content type.
Step: 6
Click on
Content Type->in Advanced Settings->Enter the URL of an existing document
template
Example:
http://dotnetsharepoint.com /sites/sharepoint /Document Library/Forms/template.xltx
Click ok.
Step: 7
Finally Click on library ->in the top ribbon click on Files->Click on New Document ->there we can able to see the newly created document content type.
0 comments:
Post a Comment