What is content type in SharePoint?

Hi All,
What is content type in SharePoint, i have seen so many content types like list content type, library content type and so many.
Can any one explain?

hi,
A content type is a reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents in a Microsoft SharePoint
Foundation 2010 list or document library. Content types enable you to manage the settings for a category of information in a centralized, reusable way.
in basic terms Collection of columns is called content type.
refrence:
https://support.office.com/en-us/article/Introduction-to-content-types-and-content-type-publishing-e1277a2e-a1e8-4473-9126-91a0647766e5
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

Similar Messages

  • Problems when trying to return information for External Content Types in Sharepoint 2013

    This is my first post on the forum, until I tried on this problem but have not found anything.
    When trying to return the information from the external content displays the following error:
    Error retrieving data from mill. Administrators: query the server log for more information.
    I do not know what else to do...

    Hi,
    According to your post, my understanding is that you got an error when tried to return the information from the external content.
    Did the error occur when you created a new external content type or created a external list?
    You can check the steps with the following articles about how to create a external content type.
    http://lightningtools.com/bcs/creating-an-external-content-type-with-sharepoint-designer-2013/
    http://wyldesharepoint.blogspot.in/2012/12/sharepoint-2013-setting-up-external.html
    If the error occurred with the external list, you can check the steps with the following article.
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/01/08/how-to-create-external-data-column-in-sharepoint-2013.aspx
    You can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • What primary content type would be right for a Project Charter?

    Hi everybody
    We want to register our Project Charter in SharePoint but without uploading a word or pdf document. I tried creating a new content type with Element Type Content as Primary and it seems not to be the right type because in this case I can have more than
    one Project Charter and this project document is only one (without their versions).
    I hope you could help me, I just started to use SharePoint and SharePoint Designer.
    Thanks in advance.

    I'm not sure I understand what you're trying to do. Do you plan on having multiple project charters? If so a content type may make sense. If there is only one project charter it's probably not worth creating a content type.
    My understanding of a project charter is that it's a statement of the goals and scope of a project. In this case I believe any of the out of the box pages with a content editor web part would work to serve as a way of entering and displaying the charter.
    Alternatively a wiki site for the project could work and provide a way for project members to collaborate on documentation.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Validation on external content type in sharepoint 2010

    Hi,
    I have created one external content type.
    Table which used by this content type contain primary key.
    SO whenever i created a record with same id, its giving me following error:
    Please help to solve the issue.

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • How to delete a custom columns from a content-type in Sharepoint Client object model

    I have a windows interface where I create a content-type and then create a column and adds that column to the content-type.
    //availableCT is my content-type where the column is present.
    //get all available fields within this content-type
    FieldCollection fieldColl = availableCT.Fields;
    clientContext.Load(fieldColl);
    clientContext.ExecuteQuery();
    foreach (Field field in fieldColl)
    //columnFromList is the column that is to be deleted
    if (field.InternalName.Equals(columnFromList))
    field.DeleteObject();
    clientContext.ExecuteQuery(); // this throws an exception
    // Additional information: Site columns which are included in content types or on lists cannot be deleted. Please remove all instances of this site column prior to deleting it.

    hi,
    you can use the below code to delete it
    using (ClientContext sourceContext = new ClientContext(cmdSpoSite))
    Web web = sourceContext.Web;
    sourceContext.Load(web);
    sourceContext.Load(web.AvailableContentTypes, type => type.Include(c => c.FieldLinks, c => c.Name));
    sourceContext.ExecuteQuery();
    List<ContentType> ExistingContentType = web.AvailableContentTypes.ToList();
    IEnumerable<ContentType> contentTypesList = ExistingContentType.Where(ct => ct.Name == "<ContentTypeName>");
    ContentType ctype = contentTypesList.ElementAt(0);
    IQueryable<FieldLink> flinks = ctype.FieldLinks.Where(f => f.Name == "<FiledName");
    foreach (FieldLink flink in flinks)
    flink.DeleteObject();
    ctype.Update(true);
    sourceContext.ExecuteQuery();
    The difference being in your code and above code is you are removeing fileds which is eventually is deleting site column but a site column cannot be deleted if is alreday being used. So you need to deled the FieldLink in content type taht way column is removed
    from content type but not from site column.
    Now if you want to delete site column you can use your code to deleted Field.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Error while Connecting to external content types using sharepoint designer 2013

    I have a standalone development sharepoint server 2013.
    After i installed BDC service, i try to create a external content list.
    When i try to open the site in sharepoint designer i am getting the error like
    "Could not establish Trust relationship for SSL/TLS secure channel with authority "sitename"
    the underlying connection was closed:could not establish trust for SSL/TLS secure channel"
    I tried creating Certificate in IIS8 adn added the certificate in manage trust in sharePoint central admin too and i have restrated IIS too.
    But the issue is not resolved still.
    PLease help me this.

    May be you need to install certificate on server. Try below:
    http://www.brainlitter.com/2012/03/13/sharepoint-2010-and-cert-trust-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
    To local system
    http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
    If this helped you resolve your issue, please mark it Answered

  • Oracle DB as external content type in SharePoint 2013

    Hi all,
    I'm trying to create and ECT from an Oracle Database in SP 2013. Is it possible to create it with Sharepoint Designer 2013? I had a look at this
    article but it creates a DataSource. I am no expert in Sharepoint, but I think that I cannot create a list dynamically updated with Datasources, right? Is it possible through Designer or should I use Visual Studio?
    Thanks in advance for your time

    No. Here is the snapshot of what SP2013 Designer supports against a site built on SP2013 enterprise
    This is exactly the same as what was there in SP2010.
    Try out BCS Metaman.
    BTW, you only need BCS if you need 2 way bi-direction sync of data between sharepoint and Oracle.
    if you just want to read data from oracle, then perhaps just use SSRS.. which will help you connect to oracle and read data into reports.
    val it: unit=()
    Could you support us with full steps for using SSRS to Read data from Oracle Database ?

  • Custom checkbox choice field for custom content type in sharepoint

    Hi,
    Created custom choice field as follows:
    <Field
    ID="{GUID}"
    Type="MultiChoice"
    Group="GroupName"
    Name="Division"
    DisplayName="Division"
    Required="TRUE"
    >
    <CHOICES>
    <CHOICE>Choice
    A</CHOICE>
    <CHOICE>Choice
    B</CHOICE>
    <CHOICE>Choice
    C</CHOICE>
    </CHOICES></Field>
    Can anybody let me know how to make choice A and Choice B checkboxes are checked by default?
    Any help would be appreciated.
    Thank you,
    AA.

    Hi,
    According to your post, my understanding is that you wanted to set the default value for the custom checkbox choice field.
    You need to add the code:
    <Default>=";#Choice
    A;#Choice B;#"</Default>
    The result is as below:
    <Field
    ID="{41A0820B-9EF4-4913-9A2A-1356F0ADE9B4}"
    Type="MultiChoice"
    Group="A
    Custom Group"
    Name="Division"
    DisplayName="Division"
    Required="TRUE"
    >
        <Default>=";#Choice
    A;#Choice B;#"</Default>
        <CHOICES>
          <CHOICE>Choice
    A</CHOICE>
          <CHOICE>Choice
    B</CHOICE>
          <CHOICE>Choice
    C</CHOICE>
        </CHOICES>
      </Field>
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SharePoint Designer 2013 (2010 Platform Workflow) - How can I create a new list item with a SPECIFIC content type?

    In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library). 
    We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform.  Is there any way to create a list item with specific content
    type?  Even if I could just input a string into that field instead of using this blank drop-down.  Please help! 

    Hi Sarah,
    According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
    I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
    How did you create the content type?
    Please check if the content type is added to the list/library the workflow associated with.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Deleting sharepoint list content type Fields

    Hi
    Please tell me the code for deleting all the fields inside content type fields..This is my code i used,but its not deleting the fields.
     SPSite spsite = new SPSite("http://ghfjhhk18:8001");
                SPWeb web = spsite.OpenWeb();
                web.AllowUnsafeUpdates = true;
                SPList list = web.Lists["Test"];
                SPContentTypeCollection cts = list.ContentTypes;
                SPContentType ct = cts["Item"];
               // ct.FieldLinks.Delete("Expires");
                //ct.Update();
                SPFieldCollection contentTypeFieldCollection = ct.Fields;
                foreach (SPField spField in contentTypeFieldCollection)
                    if (ct.Fields.ContainsField(spField.Title))
                        //SPFieldLink fieldLink = new SPFieldLink(spField);
                        ct.FieldLinks.Delete(spField.Title);
                    //myContentType = null;
                ct.Update();
                web.AllowUnsafeUpdates = false;
            }but this code is not deleting the fields..
    pls help me as soon as possible.
    One friend told me to do for loop in reverse..but how can i accomplish that

    Hi,
    Please refer the below code snippet which may help you to fix your issue. If not please refer the below links also
    http://ptsharepoint2010.blogspot.in/2011/12/programmatically-remove-fields-from.html
    http://www.c-sharpcorner.com/uploadfile/54db21/delete-field-content-type-in-sharepoint-2010-programmaticall/
    using (SPWeb web = site.OpenWeb())
    SPList spList = web.Lists["<ListName>"];
    SPContentTypeCollection spCTS = spList.ContentTypes;
    SPContentType spCT = spCTS["YourContentType"];
    spCT.FieldLinks.Delete("YourField");
    spCT.Update();
    If its not helping you, please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • How to Enforce Sharepoint 2013 content type validation rules when modifying document using Word 2013

    Good day,
    I have two date columns (Start Date and End Date) in a content type in Sharepoint 2013.  A file library uses this content type.
    In the document template I have the two dates (Start Date and End Date) showing in the Document Panel.  I can edit them well enough and they show in the document correctly.
    In the content type I have validation rules that the End Date must be greater than the Start Date. 
    The question is, how can I enforce this validation on the client side in Word.  Is there anyway to achieve this?
    The user will not have access to change the document properties in Sharepoint. (Not my call)
    Thank-you!

    The "panel" is called the Document Information Panel in SharePoint. You can customize this using InfoPath from the page where you created / edited your Content Type. Go to Settings, Site Settings Content Types, edit your content type, click Document
    Information Panel and then click "Edit this template". In InfoPath you can create a Rule to enforce your dates.
    This may require the Enterprise Edition of SharePoint to support the InfoPath Forms Services.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Content Types updates not getting pushed to Lists/Libraries Sharepoint 2013

    Hello,
    We have updated Content Type at Content Type Hub(ex. Making columns Hidden/Req...etc..). These changes are pushed to the consumer sites site level Content types but the problem is these changes are not reflecting at List/Library level Content type.
    Is there a way to explicitly push down the changes ?
    Best Regards, Pankaj Rana

    http://sharepoint.stackexchange.com/questions/52259/how-to-update-a-deployed-content-type
    perform the changes to the ContentType make sure to push changes to the lists while updating the ContentType.
    For now, you might need to perform some clean-up job here, just to make sure the field is deleted from all the lists, with your Custom ContentType. Use the following PowerShell script for clean-up! Vårsegod :)
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    $site = Get-SPSite "http://your.site.com"
    foreach($web in $site.AllWebs)
    #iterates through all the Lists
    for ($i = 0; $i -lt $web.Lists.Count; $i++)
    $list = $web.Lists[$i];
    $MyListContentTypes = $list.ContentTypes
    if ($MyListContentTypes -ne $null)
    $ct = $list.ContentTypes["You Desired Content Type Name"]
    if($ct)
    Write-Host "In list Content Type and deleting the field" $ct.Fields["You Field Name"].Id;
    $ct.FieldLinks.Delete($ct.Fields["You Field Name"].Id)
    $ct.Update()
    Edit: How to push down changes to all the Content types via SharePoint Server Object Model:
    using (SPWeb oWebsite = new SPSite("http://MyServer/sites/MySiteCollection/MyWebSite").OpenWeb())
    SPList oList = oWebsite.GetList("MyWebSite/Lists/MyList");
    SPFieldCollection collFields = oWebsite.Fields;
    string strNewColumn = collFields.Add("MyNewColumn", SPFieldType.Text, false);
    SPFieldLink oFieldLink = new SPFieldLink(fields[strNewColumn]);
    SPContentType oContentType = oList.ContentTypes["Specification"];
    oContentType.FieldLinks.Add(oFieldLink);
    oContentType.Update(true);
    Edit 2: Update a Content Type using PowerShell:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    //get the specific Root web
    $spweb= Get-SPWeb "http://your.site.com"
    //get the fields collection
    $fields = $spWeb.Fields
    //get the specific field
    $field = $fields.GetFieldByInternalName("Name of you field")
    //get the specific Content Types from Root Web
    $contentType = $spWeb.ContentTypes["You Content Type"]
    //delete a field from a Content Type
    $contentType.FieldLinks.Delete($field)
    //add a field to a Content Type
    $contentType.FieldLinks.Add($field)
    //update the Content Type and push changes to the children
    $contentType.Update($true)http://sharepoint.stackexchange.com/questions/42744/how-to-add-a-field-to-a-contenttype-with-feature-upgrade-for-new-and-existing-shttp://msdn.microsoft.com/en-us/library/office/aa543504%28v=office.14%29.aspx
    If this helped you resolve your issue, please mark it Answered

  • SharePoint 2013 Folder Content Types

    Hi,
    In SP2013 I have library with a default content type (IT Library Content Type) that I want to change when a file is placed in a particular folder in this library.
    The default content type order for this folder has been changed to a different content type 'Issues' and should be the only content type shown when the edit page is presented. However, when a file is added to this folder, a Content Type selection
    listbox is presented showing 'It Library Content Type' as the default selection with the 'Issues' content type available for selection.
    Desired behavior is to have 'Issues' content type columns presented, with no content type selections seen, when the Edit Page is shown.
    Thanks

    Hi,
    As you said about Folder content type in SharePoint, I supposed that you were talking about Document Set content type.
    If I misunderstood, please feel free to correct me.
    If that is the case, the issue is by design that the default content type will be available when uploading or editing documents inside the document set even though the content type is not added in the allowed content types in Document Set settings. And the
    default content type of the library will be set the default selection when editing or uploading documents inside the document set.
    As a workaround, I recommend to set the allowed content type as the default content type in the document library.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Not able to crawl all items from External content type

    Hello All,
    "All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
    Steps:
    I created "External content type" using sharepoint designer which connects to a SQL Server database.
    Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
    I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
    Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
    Issue
    When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
    document...)
    Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
    and no errors were returned.
    Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
    to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
    SRIRAM

    Hi ,
    I started the change suggested in the link shared by you, but got stuck at a point,
    The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
    3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
    The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
    Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
    Please let me know your suggestions on this.
    Thanks,
    SRIRAM
    Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
    Yes, or just have it run off the composite key instead of the field you're using now.
    Nope, BCS needs a UID field like in answer 1 :)
    Good luck!
    My CodePlex -
    My Blog - My Twitter
    Join me at the San Francisco SharePoint User Group!
    If this post helped you or answered your question please remember to mark it! :)

Maybe you are looking for

  • Officejet Pro 8500 A909g Wireless suddenly won't print yellow; no error messages

    Is it possible that a printhead needs to be replaced even when Diagnostics Pages all say "Printhead health:  Good"?   I don't have any error messages.  There are no obvious white lines through the colored blocks on test pages.  In a couple of blocks

  • Free Goods Condition record usingT.Code VBN1

    Hi all, We are creating a free goods condition record using T.Code VBN1. We want to ensure that main item & free goods items are only shipped out together. How do we enable this using delivery controls in T.Code VBN1. Regards, Tom.

  • Hard drive and logic board failure

    Hi everyone, we have been suffering from 4 dead hard drives and one logic board failure in 20-inch intel iMacs (~2007) recently and last month the logic board and hard drive of a 2010 27-inch iMac (just out of warranty) just died. Are there any known

  • IPad 3 Charging/Syncing Issues

    So for some reason my iPad 3 will not charge or sync at all, no matter what cable I use. I have tried three different certified apple cables and several different chargers and laptops, none of which the iPad seem to recognize. The only way I have abl

  • Can't get a PDF attachment to open without a pop-up box opening.

    Every time I get a PDF attachment in AOL Email I click on it to open and it brings up a dialog box wanting to know what program to use to open. I select Adobe Acrobat Reader and then check the box to do this all the time and click on OK. The PDF open