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)

2
votes
1answer
338 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 ...
1
vote
2answers
2k views

Open Document Content Type from SharePoint 2010 Library with perfect trust

I just created Document Content Type and then create new document from New Document. I got the popup "Some files can harm your computer. If the file information below looks suspicious, or you do not ...
1
vote
2answers
607 views

How to make Title READONLY in custom list

If I set the title field to Read only (since I will calculate it based upon other values) in the ListAdded Event handler, when i open up a form for creating a new item i get an error. Event ...
0
votes
3answers
103 views

Should I this add metadata to my contenttype? And can I make the information be filled out automagicly?

I'm building a sln for managing projects. A site will be created for each project. Each project has a projectId, and is also related to a CustomerID, and a OrderId. The project site includes a ...
2
votes
4answers
667 views

Document IDs on existing Lists with inherited Content Types not showing

I've got some existing lists that have custom content types inherited from the Document content type. I've activated the Document ID Service feature, and any new lists I create using the same content ...
1
vote
1answer
376 views

Re-create new Content Type using SchemaXml of an existing Content Type

I have the XML schema information (SPContentType.SchemaXml) of a content type. I am looking for a method that takes this information to recreate the content type at a different location? Thank you. ...
2
votes
0answers
1k views

SharePoint List with multiple content types and the datasheet view

According to this thread. SharePoint 2010 does not "support" using the datasheet view with multiple content types configured anymore. But maybe somebody knows a workaround for my problem: I have a ...
1
vote
1answer
186 views

After upgrade from 2007 to 2010 - Field Duplicate when trying to add feature

I upgraded a sharepoint from 2007 to 2010 with attaching the content database. After that i developed a new solution with the same content type i used in 2007. Adding the solution works fine but ...
3
votes
1answer
87 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 ...
12
votes
4answers
5k views

Why is Word document created from template saved locally, instead of to the document library?

I have created a custom content type at the root of my Site Collection and set this content type to use a Word document template, which resides in a different document library on the root site. (The ...
0
votes
1answer
24 views

Will data be affected on dropping features

If I drop\delete features like SiteColumn, ContentType or ListDefinition which may be referred by sites to hold data. In such cases, will the data also get deleted?
1
vote
0answers
209 views

Migrating a site from one SC to another - ContentType problems [closed]

Recently I took over a sharepoint 2010 consolidation project from another developer. The goal was to combine 6+ standalone Site Collection + Site stacks into one Site Collection. Apparantly 5 of the ...
0
votes
2answers
1k views

Web part and content type

I'm using SharePoint 2007, custom list. I have created 2 content type on that list. on the home page I create 2 web part. I want that each content type appear in one web part. is it possible?
0
votes
1answer
707 views

Show/Hide Content Editor Web Part Based on Sharepoint Custom Content Type

I have created a room/resource reservation process using custom content event types. They are as follows: *Reserve a Room *Reserve an AV Resource *Reserve the Conference Room I have created a CEWP ...
0
votes
1answer
507 views

User control in custom list item edit - when can I see content type of item?

I have a user control I'm using to edit new list items. In my Page_Load event, I am trying to retrieve the Content Type of the new item to use in further logic. But, I'm getting a null reference ...
1
vote
2answers
2k views

Sharepoint List - Multiple Content Types - No Default Type?

I have a Sharepoint Calendar List that has multiple content types. When I click the "Add Item" link on the calendar, I am prompted to add information for the default content type. However, I want to ...
1
vote
2answers
1k views

Reorder Content Type Columns

I have a custom content type with some custom site columns. I can't find anywhere to reorder the columns for the content type. How can this be done in Sharepoint Designer 2010? Thanks.
3
votes
2answers
2k views

Change Base Content Type of Content Type

In Sharepoint 2010, is there any way to change the parent (or base) type of a Content Type after the relationship has been established?
7
votes
2answers
3k views

Can I order by Content Type in a CAML query?

Is it possible to order by content type in a CAML query? I seem to always get the same result no matter what I do with the Order by. Ordering by ID instead works perfectly. query.Query = @" ...
1
vote
0answers
176 views

Document Sets & Content Types

Our users generally work offline - hence we want an ability in Document Set whereby Documents can be uploaded in a Document Set The Uploader is asked - Which Document Set should be used to uploaded ...
4
votes
1answer
6k views

Adding a site column and add it to a content type from PowerShell issue

Within a PS script, I'm trying to add a site column and add this column to a custom content type. Here is my script : add-pssnapin Microsoft.SharePoint.PowerShell -EA 0 function ...
2
votes
1answer
116 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 ...
1
vote
4answers
7k 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 ...
0
votes
1answer
118 views

Workflow For Forms

My company is currently planning to setup Sharepoint 2010 and I have been tasked with converting old forms (e.g. Vacation Request Form) into workflows in Sharepoint. Historically, the forms have been ...
0
votes
2answers
640 views

Add site column to site content type error

var objWeb = properties.Feature.Parent as SPWeb; Guid webPublishingGuid = new Guid("94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb"); SPFeature feature = null; SPSite site = objWeb.Site; feature = ...
1
vote
0answers
1k views

Overriding FormUrls and alternative form?

In a content type, I override the forms of the CT : <XmlDocuments> <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <FormUrls ...
2
votes
1answer
688 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 ...
1
vote
2answers
274 views

What are the implications of manually changing a Content Type?

If a Content Type was deployed using a feature and someone makes manually changes it through the UI (e.g. adding a column), are there any implications? Does the content type become unghosted? Are ...
0
votes
3answers
202 views

How to create a Content Type within a Content Type in a SharePoint 2010 list?

How do I create a CT within a CT as shown in the image? Thanks -saumil
0
votes
2answers
123 views

Accessing additional content type from a page layout (in markup)

I have the following content types Testimonial Page (Inherits from Page) Testimonial Video (Inherits from Video) I have a page layout that is based off of the Testimonial Page content type. I ...
0
votes
1answer
101 views

Custom link content type should open a modal window to for adding a new link

My custom link content type is not showing as Modal window, but Add a New Link window is showing in the same Window, I want it to display in Modal window
9
votes
3answers
10k views

How to find all documents of a certain content type?

I have an content type I would like to delete, but when I try I get an error message saying that it is still in use. Is there a way that I can find all documents that are still using that content ...
2
votes
1answer
2k views

“Invalid Field Name” Exception when using Provisioning

I wanted to create a site template package. Instead of going with a custom site definition, I planned to go with the recommended "Provisioning Provider" technique. The solution was going just fine. ...
1
vote
1answer
2k views

Deleting Site Columns and Content Types Programmatically

I have a feature that adds two site columns to a content type on activation. On deactivation it's supposed to delete them, but I'm getting the following error: "Site columns which are included in ...
3
votes
1answer
182 views

Error building a content type in SP 2007

I have an event handler that catches an ItemAdding event and changes the content type on the fly. This is my code to build the content type: SPContentType baseContentType = ...
4
votes
1answer
13k views

More than 255 characters in multiple lines of text?

I have an InfoPath Form which submits the text of a textbox and saves it in a SharePoint list. Whenever a user types in more than 255 characters and I want to edit the element in the SharePoint list ...
10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
5
votes
3answers
946 views

Deleting a site content type in Sharepoint 2007

I'm trying to delete a custom content type that I've created, but I'm getting an error when I try to do so: The content type is in use. at ...
2
votes
2answers
2k views

Programatically add a content type to a document library

I have an event-handler feature that changes the content type of an item when it is added to a document library, however this will only work if the content type is allowed for that document library. ...
2
votes
3answers
333 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
2answers
953 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 ...
1
vote
1answer
519 views

Creating New Content Types - Parent- Child Sites

In my site I am creating a new site and subsites. We have a main site that we want to collect the different Projects (parent) and have the subsites have the project information along with other ...
3
votes
3answers
4k views

Content type ordering or making it default ct

The following is updated code from Ton Stegeman and it works. private static void AddContentType(SPWeb web, SPList spList, string ctName) { if (web.AvailableContentTypes[(ctName)] != ...
2
votes
2answers
4k views

Permissions on Content Types?

I am using sharepoint 2010 and made my own content type that inherits from the page content type. This content type is in a folder called "content types" I am having a weird problem where if the user ...
3
votes
1answer
708 views

Determine if a document library is a sharepoint library

I'm adding some content types to every standard-document library which is created over the "List Added"-EventReceiver. When a web is created the are some new doclibs for example in a team site there ...
16
votes
4answers
3k views

Content types vs. custom list field

This is a question about best practices and the intent of the designers of SharePoint. I'm pretty new with SharePoint, and have only worked on pretty small projects. I often find myself creating ...
6
votes
1answer
849 views

Only allow Document Sets in a Document Library (ie no Folders)

I'm exploring the use of Document Sets as a more managed approach to file handling (in the recordkeeping sense) in SharePoint. The chief problem I have is that Document Sets are derived from Folders, ...
4
votes
1answer
4k views

The field with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite

I have a farm solution with a single feature that has a bunch of site columns and a content type. The content type does inherit from Enterprise Wiki Page, but the feature has an activation dependency ...
1
vote
2answers
260 views

Unrelated column appears in Content type version history

We have a site content type that inherits from Document and has 2 additional columns added to it. This Content types is used in a library along with 5 other content types. When we look at Version ...
1
vote
2answers
233 views

Custom sitecolumns can't update

I have made a ContentType in Visual Studio 2010 for my SharePoint 2010 project and the first time I deployed the wsp through the WSPBuilder there were no troubles but now every time I try to deploy, ...