A content type is a reusable collection of columns and settings that can be applied to a certain category of SharePoint content

learn more… | top users | synonyms (1)

0
votes
1answer
78 views

Content Types not Refreshing on SP Online

I have a number of content types defined in the SharePoint Online ContentTypeHub and have recently made changes to them and republished. All existing site collections are still using the old ...
0
votes
0answers
43 views

Error while deploying List Definition and List Instance in SharePoint 2013

I have two features, first feature deploys custom columns and custom content types. Second feature deploys list instance and list definition. But I got following error when I retract solution first ...
0
votes
1answer
14 views

Adding Lists to a Visual Studio solution, given a CMP file

We made changes to a live SharePoint site (added content types, lists, etc.) Now, we would like to go backwards and generate all those objects in our Visual Studio solution. Given the CMP, we ...
0
votes
1answer
3k views

Setting file Content Type using Client Objects

Setting the Content type the same way as setting other metadata fields does not work in ClientObjects. Anybody knows why? Here is what I do, and works for other columns: var fci = new ...
1
vote
3answers
879 views

Define contenttype with list

I have defined my list definition as following: <List xmlns:ows="Microsoft SharePoint" Title="Requests List Definition" FolderCreation="FALSE" Direction="$Resources:Direction;" ...
0
votes
2answers
35 views

SharePoint Site columns [duplicate]

I have a content type named myContentType with these columns Title Person Age If i change the name of these columns to this Title = Hello Person = Jo Age = Agee If i now create a subsite, these ...
1
vote
1answer
43 views

Attaching Remote Event Receiver to Content Type

Looking through the SharePoint Client API I see no property which allows the attachmentment of a content type. I was hoping to attach a remote event receiver to a custom content type on the ...
1
vote
0answers
35 views

Modified Content type columns breaks in site template

I have created a site template with a list that uses my content type "ctNews". I have renamed my columns in the content type to different names, and renamed the columns in the site template. If I ...
0
votes
0answers
35 views

Document Set Information Management Policy

Scenario: Document set that has allowed content types. This document set has an Information Management Policy that includes a retention schedule. Some of the allowed content types also have a ...
0
votes
1answer
35 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
0
votes
1answer
40 views

Filter Values in ChangeContentType Control

I am using the SharePoint:ChangeContentType control (which renders as a DropDownList in New/Edit modes). I need to manipulate the values that are present in the rendered DropDownList in the ...
0
votes
1answer
22 views

Get Reference in CodeBehind to ChangeContentType Control

I am trying to get a reference to the control in Edit/New mode in order to remove several of the Content Types in the DropDownList that is rendered during the PageLoad or Init phase. I can't use ...
0
votes
1answer
71 views

Existing content type add new/edit/display forms

I have a Content type that is being used on a list on many subsites. I'd like to replace add/new/edit forms for that content type. It is on Office 365 + i cant use sandbox code at all. Only option ...
1
vote
1answer
35 views

Get enumeration of lists with specific content type

I need to present the user with a drop down of lists that contain a specific Content Type. The selected drop down item will be used within a workflow. The idea is similar to the existing functionality ...
13
votes
8answers
4k views

Content Type Event Receivers Impossible to Remove

I have a very odd situation in my SharePoint staging environment. We recently stood up a new SharePoint 2010 server (single WFE + a DB server), and attached a backed-up content database from our ...
4
votes
3answers
3k views

New site columns are not being completely propagated to a content type in a site collection

We're working on a SharePoint 2010 publishing site that has been deployed to our client's environment. We need to add 5 new site columns and add them to one of the content types (that's based on ...
1
vote
0answers
28 views

New custom content type-document template changed to upload from create

I have WORD and Excel templates as custom content types in SharePoint. All was working great, when clicking on the "New Document"icon in SP 2010 you would get a drop down list of the document ...
1
vote
1answer
99 views

Showing all newform.aspx of a certain content type in a dynamic list

How can I provide the following solution? on the 'home page' of a site collection, query all lists with a certain content type ('eForms') each list entry will be a link to the 'newform.aspx' of that ...
1
vote
1answer
94 views

How to get content types available to a library using the REST API?

Using the REST API, how would I go about obtaining the content types that are available in a specific library in SharePoint 2013? I am aware that I can get the content types of items from a list, but ...
2
votes
4answers
3k views

How to set columns visible only in Display Form on a Column used by a Content Type

I have a column that we will call C. This Column is associated to a Content Type (CT). If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden: If I put it ...
1
vote
1answer
104 views

Document Set allowed content types

I want to get all Content types of Document Set. I've used documentSet.ContentTypeTemplate.AllowedContentTypes.But it does not allow me to enumerate through. How to access the Content Types of ...
1
vote
4answers
506 views

How to remove Default “Document” CT from custom document Library

I have created document Library programmatically and add some custom Content Types to it. But I want to Delete/remove default "Document" content type from my document library. How i do that ? ...
1
vote
1answer
129 views

Removing orphaned content types (content type hub)

I have created a Content Type Hub and several content types and published them. Then I realised that I used the blank site template which won't work because it's missing several features, so I ...
1
vote
2answers
4k views

How to change site collection URL (Content Type Hub) in Managed Metadata service application

in Application Management -> Manage Service Applications -> Managed Metadata Service. Select manage metadata service and click properties. In properties window, I have added Site collection URL for ...
1
vote
2answers
38 views

Custom List without CreatedBy / ModifiedBy through WebUI/SPD/Javascript

Is it possible to create a truely anonymous list without the created by and modified by columns defaulted, like if someone wanted a suggestion box? Specifically is it possible to do this in SP2010 out ...
0
votes
1answer
1k views

Problem with save conflict when adding content type to list

I have a feature receiver with the following code: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site = (SPSite)properties.Feature.Parent; ...
3
votes
1answer
34 views

Problem with Localization of ContentTypes

I've developed some content types. There are no resource files in my solution. When I'm deploying them to an English team site the description is correctly displayed. If I deploy them to a German team ...
1
vote
1answer
140 views

Add Content Type to existing List when associating Workflow

Using Visual Studio I have created a package for SharePoint 2010 that deploys a Workflow that creates Tasks of a custom Content Type Id. When I first deployed it, I noticed that Tasks were being ...
1
vote
3answers
715 views

Issue with External Data Columns on Document Libraries with Content Types

I have site content type called ContractBase that has a bunch of fields that are used in contracts. I created some other site content types (ContractType1 and ContractType2) that inherit from ...
2
votes
1answer
30 views

HELP - Need to restore the Event Content Type in SP 2013

Hoping someone can help...accidentally deleted the "Start Date" and "End Date" site columns and screwed up the Event Content Type. Can it be restored?
0
votes
1answer
21 views

Locating columns that have been added to the base document type farm-wide

We have a legacy SP2010 farm (originally migrated from SP2007) that long ago had two metadata columns added to the base document type. We wish to remove them because they cause "duplicate field" ...
2
votes
2answers
2k views

Content Type Hub push Content Types with Inherit=FALSE

We're deploying our custom content types to the content type hub with a feature. The content type with Inherits="TRUE" gets published to the subscriber sites without a problem. However for all content ...
1
vote
1answer
141 views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
2
votes
3answers
1k views

What is the best way to provision Content Types and managed metadata columns in SharePoint 2010

What is the best way of provisioning ContentTypes, Columns and Metadata columns in SharePoint. Keeping in mind that we have two approaches of 1) SP object Model and CAML (declarative way). Which ...
0
votes
1answer
190 views

Programatically publishing Content Type in Content type Hub

I have a custom content type which I am deploying to a Site collection in which content type hub is configured. To use the content types in different site collection after the content type is deployed ...
1
vote
0answers
21 views

Content type keeps document properties when overwritting file

A document library we have implemented on our SharePoint 2010 environment is behaving strangely. It has been created using a custom content type with several multi-lookup fields. When a file is ...
0
votes
0answers
64 views

Problem creating content types programatically on a Content Type Hub

So I've been having issues with a module I built to create content types. It goes by steps like this: 1 - I create an empty content type (it may or may not inherit from another content type -which ...
0
votes
1answer
184 views

PreSaveAction on a ListInstance with a custom ContentType

Everything I've read about PreSaveAction requires me to edit the NewForm or EditForm to add the reference into the form. However, given my list is created from Visual Studio using a custom content ...
2
votes
1answer
85 views

How to create a search scope for content type in a sub site?

I have parent site i.e sharepoint.microsoft.com & a sub site sharepoint.microsoft.com/child/ Now a content type named "Problem" in created in sub site. I would like to add this content type in ...
1
vote
1answer
84 views

Metadata Assigned to a Folder

Working in SP13. Is there a way to assign metadata if a document is moved into a folder in a document library? I already have folders with documents inside. If a user uploads a new document to the ...
0
votes
0answers
69 views

The element of type field fo feature 'feature' threw an exception during activation: a duplicate field name 'fieldName' was found

I am taking over a SharePoint environment. The previous developer created a custom Workflow with Custom Activities, etc. One of the steps in the Workflow is to create a web using a custom Site ...
2
votes
2answers
93 views

SharePoint 2013 Search Issue

We have setup SharePoint 2013 on windows 2012 server. It is have cumulative update until August. Its version is 15.0.4535.1000. I have created two site content type of document type. Both content ...
2
votes
1answer
39 views

Solutions for a long list of content types

We have a library with about 18 content types available when creating a new document. I know our users will not like the long dropdown list that is rendered when clicking new document. Are there any ...
1
vote
0answers
104 views

Can the choices in a Field Type=Choice be updated when referenced in Content Type

Using Visual Studio I am creating several custom Tasks to be created in a Workflow. Each of the Tasks have the same fields -- an area for appending comments and a Choice field for indicating where the ...
1
vote
1answer
141 views

SharePoint Online - Custom InfoPath forms and changing content types

I have created a SharePoint CRM tool that uses 3 content types - these are named General, Prospect and Account. The idea being that a new potential customer lead gets added to the database as a ...
1
vote
2answers
128 views

Programmatically pre-fill Document Information Panel

I have a document library, associated with a custom Content Type. I added a link on a page, creating a new document associated to this content type (via javascript CoreInvoke). When the document is ...
6
votes
2answers
4k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
3
votes
1answer
541 views

Removing Workflow Association on Content type programmatically with push to children

I am required to remove Workflow associations on a content type and from all the child content types deriving from this, as well as the list content types, deriving from the derived. ct - A Site ...
0
votes
1answer
226 views

ListDefinition and ListInstance failures with custom content type

In VisualStudio 2012 I have a custom content type that I want to use in a ListInstance. When I create a ListDefinition or ListInstance using VisualStudio and add my ContentType I get feature ...
0
votes
2answers
74 views

Access current item from the page layout's aspx file

I am creating a page layout (without the associated html file) for my custom content type. One of the fields in my content type is a URL (Hyperlink or Picture) which should point to an image. How do ...