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)

3
votes
2answers
670 views

How to make Add new Item link to navigate to Custom Form

I have made Custom Content Type, and List Definition from that Content Type. What I'm trying to do now, is create custom display/edit/add forms for List Item, and when user clicks on Add New Item, ...
3
votes
2answers
1k views

Nested (inherited) content type and inherits false in 2010

I can't find a CAML based solution to the following problem, I appreciate that if I created/edited the content type using the object model it would probably be OK but for this situation I need to use ...
3
votes
1answer
458 views

Will lists inherit the edit form from it's Custom Content Type?

I have created a custom content type and I would like to have all lists that use that content type use it's edit/new forms. Below is the XML i have in my Elements.xml file: <?xml version="1.0" ...
3
votes
1answer
89 views

Starting fresh project using Sharepoint 2010 foundation

I have a wss 3.0 site that is working and functional. I didn't wanted to migrate the site to Sharepoint foundation as there are some issues with the site during migration. Also I would like to have ...
3
votes
1answer
222 views

Why is this workflow to create a document from a custom content type just creating a blank document?

I have a document library with a custom (document) content type set as default (the only content type), and I've edited the template to use columns to populate the document. When I create a new ...
3
votes
1answer
1k views

Trouble creating wiki page template for content types!

Just assumed it was as easy as creating a document content type but when I tried it for the first time, to my surprise I could not do it. Where do I download a wiki page template? Why can’t I just ...
3
votes
1answer
218 views

I need help using multiple content types in a wiki page library

I currently trying to used multiple custom content types based off of the wiki page content type in one wiki page library. "Allow management of content types" has been enabled with the designer The ...
3
votes
1answer
460 views

SharePoint Framework for Programmatically creating Fields, ContentTypes etc

I am looking for a SharePoint Framework/API which can be used to programmatically create Artifacts like Fields, Lists, ContentTypes etc using SP 2010 Object Model. The objectives are: Provide ...
3
votes
2answers
2k views

Calculated column on Start Date in Calendar List Not working

In SharePoint Server 2010, I have a standard calendar list created with an attached custom content type. I'm simply trying to create a calculated column on the event's start date in the content type ...
3
votes
3answers
2k views

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I ...
2
votes
4answers
5k 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 ...
2
votes
3answers
339 views

Sharepoint feature still running after being uninstalled, files removed, IIS restarted

I had created a feature that changes the content type of a folder when it is created, which works fine. However, I wanted to make a change to it by adding another folder for it to work in but after ...
2
votes
3answers
3k views

Sandbox Content Type and Resource (RESX) File

I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
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 ...
2
votes
1answer
2k views

How do you determine the Consumers for a given Content Type?

Is there a quick powershell script to find out all the consumers who are consuming a given content type? If yes, how do you do this with powershell?
2
votes
4answers
8k views

SharePoint search not indexing contents of document libraries

I have a strange problem where the MS Word documents my documemt libraries are not being indexed. When i look at the crawl log i can see that the crawl is indexing the libraries themselves but not any ...
2
votes
2answers
3k views

Event receiver attached to content type via XmlDocuments ignored?

I have a content type defined in Elements.xml and I want to add an Event Receiver. My Elements.xml looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements ...
2
votes
1answer
360 views

Random Hidden Fields On New Content Type

I have the following code used to programmatically create content types. The code creates and deletes the content type using a windows form app which I will eventually transfer to an event receiver. ...
2
votes
5answers
5k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
2
votes
1answer
3k views

Making items in a custom list form “clickable”

I've got a display form for a list in Sharepoint 2010. I've added a second list which is related and added a section to my form using "Related Item View" in Sharepoint Designer. Since the related ...
2
votes
2answers
182 views

Hide List Content Type via CSOM

How to programmatically (using CSOM/JSOM) uncheck the Visible checkbox for a content type: so that the content type (Document Set above) is not anymore visible in FILES > New Document: In order to ...
2
votes
2answers
88 views

hiding a content type in 2010 using the GUI

Guys i want to create a base content type but i dont want anyone to be able to use this content type when assigned to the library. Is there a way through the GUI to set this? If not perhaps a ...
2
votes
1answer
216 views

Setting Sealed to False… Any repercussions?

I need to attach an event receiver to a content type created by SharePoint: FolderCT.EventReceivers.Add(SPEventReceiverType.ItemAdding, SharepointReceiversAssemblyName, CTReceiverName); ...
2
votes
1answer
345 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
2
votes
1answer
121 views

How to activate content type on specific web?

I have site collection ex: http://microsoft.com/ and i got few child webs: http://microsoft.com/news/ http://microsoft.com/somethingelse/ <Elements ...
2
votes
1answer
1k views

Content type features refusing to enable

I am performing an upgrade from a 2007 environment to a 2010 environment and am having an issue with content types. In the 2007 environment, there was a custom content type from our codebase in a ...
2
votes
4answers
2k views

Document Properties Demotion from ListItem field is not working

I have a content type in a library configured with a word document as a template, it is the default content type. When creating via the UI from New item entering information into the DIP sets values ...
2
votes
1answer
379 views

Sharepoint Designer > Use Custom Field from Content Type to set a HTML Attibute

I'm really not a Designer, but unfortunately, I have to design something. Any help will be much appreciated. The Scenario: I have a Page Layout with my own Content Type. One of the Fields in the ...
2
votes
2answers
2k views

Is it possible to use DocIdRedir.aspx for linking to the display form

We are using a Link to a Document contenttype. The url used in this contenttype contains an url like http://ont/abc/_layouts/DocIdRedir.aspx?ID=N57YVKN5WQKX-2-2247. When testing this url it always ...
2
votes
3answers
1k views

Are site columns and content types really worthwhile?

I started doing Sharepoint development by the book. From the very start I was taught, create A site column -> A content type -> A list definition -> A list instance. So the theory here is you have ...
2
votes
3answers
671 views

CrossListQueryInfo filtering on content type: no results

I'm trying to use CrossListQueryInfo to query all Pages Libraries (ServerTemplate 850) across the site collection for a particular custom content type. However, specifying the content type in the ...
2
votes
1answer
74 views

List Content type mandatory fields

We have a list content type in SharePoint 2010. Some fields are mandatory. When not all mandatory fields are filled out, we only get to see the red error message for the date picker field. Once the ...
2
votes
2answers
572 views

How to use one page layout for few content types

I have elements.xml with module: <Elements> <Module Name="IntranetNewsPageLayout" Url="_catalogs/masterpage"> <File Path="IntranetNewsPageLayout\IntranetNewsPageLayout.aspx" ...
2
votes
1answer
1k views

Parent content type Page or Page Layout?

When to develop custom page layout via Visual Studio, which parent content type must be chosen for content type? From different articles i see both Page and Page Layout selected as base Content type. ...
2
votes
1answer
284 views

Can't find a site column that DOES apparently exist

Well I've deployed a site column from my xml definition and upto now it's been fine. I then checked my content type (after some unexpected errors) and it's removed itself from the content type and is ...
2
votes
2answers
273 views

Lookup List and return data from within a Form

OK, I'm beginning to despair at SharePoint...please help restore some faith :) Seems some very basic things are very hard to achieve? 1: I have data in an SQL database table. 78,000 rows, but I want ...
2
votes
1answer
119 views

Custom content type throwing errors?

I have created a custom content type that uses several custom fields that I created in the same project. When I deploy the content type for the first time it works fine. When I try to deploy ...
2
votes
1answer
714 views

Provisioning Custom Content Types and Document Templates

I am using a complete 2010 environment (SP,VS and Word) but when I provision my content type using XML, while it provisions everything and appears to work, when I create a new Word document from my ...
2
votes
2answers
1k views

When can the content type be updated in code?

I have created an event handler for ItemAdded so that when an item is added on the site, my code checks to see if it's a folder. If it is, it should change the content type of that folder to a custom ...
2
votes
1answer
350 views

Fields and FieldLinks return the same two values for all Content Types

I have an application that loads all of my content types into a drop down list. When an item in the drop down list is selected I would like to get a list of the columns for that content type but each ...
2
votes
1answer
6k views

Add new column to an already existing content type with a feature?

Is it possible, with Sharepoint 2007, to add new columns with a Feature to a content type that is already being used in some lists?
2
votes
2answers
145 views

What are Content Types and what can I do with them?

I am following Wrox Book Sharepoint 2010 Professional Development. In chapter 9 (Electronic forms) they told me to create a training list with some columns - done. On chapter 12 (Workflows), they ...
2
votes
1answer
429 views

Content types and list forms

I've encountered the strangest problem. I've got two features: ContentTypes: contains a couple of custom fields and a content type (based on plain ol' 0x01) called Withdrawals that uses them. Scoped ...
2
votes
1answer
49 views

Site Columns & Content Types Missing during VS Development

Just getting into SharePoint development however we're encountering an issue following nearly every tutorial! Site Columns & Content Types do not seem to appear in SharePoint after Deploying an ...
2
votes
1answer
35 views

Why Content types, from a hub, doesn't allow suscription to old site collections?

I had notice that in SharePoint Online, when I create a content type in the content type hub (http:/my.sharepoint.com/sites/contentTypeHub/), the site collections created before the content type never ...
2
votes
2answers
125 views

Save Site as Template (with include content) does not accept LookUpSite Columns

After long search on the web i could not figure out why i have been facing wired behaviour today with my SharePoint Site. I explain, I have a Site Collection (Blank Site Template) which contains ...
2
votes
2answers
370 views

Create a List in Host Web based on custom Content Type

I have created a custom Content Type in a SharePoint App. I've had no problems making a list based off of this Content Type in the App Web. Requirements of my project have changed and I'd like to ...
2
votes
1answer
3k views

Create a hyperlink to open a New List Item Content Type in modal View in SharePoint 2010?

I have been researching this for a while now and no where can I find a solution that works perfectly in a list with multiple content types. I needed to create hyperlinks on a page where the user could ...
2
votes
2answers
166 views

EventDate field name gets changed/ignored

I have a custom content type derived from a publishing page. I want it to also have the fields from the event content type, so I added the fields exactly the same as specified in the ctypeswss.xml ...
2
votes
2answers
610 views

Custom Content Type always results in ArgumentException

I created a custom content type and provisioned it as a solution for SharePoint 2013 (PU March). When I create a new page in a list, bam yellow page of death. To rule out an error I created a custom ...