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
1answer
2k views

Set Enforce Unique Values for Title Field in Custom List Definition

I have custom content type, custom list definition from this content type, and list instance in my visual studio project. I could not set Enforce Unique Values for Title Field. How can I achieve this. ...
1
vote
0answers
117 views

SP2010: Value of the 'Title' field is not stored when saving from pagelayout

I've created a pagelayout associated with a specific content type that contains the standard Title field. In my aspx file, I have an EditModePanel with attribute PageDisplayMode set to Edit, and ...
2
votes
2answers
684 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" ...
9
votes
5answers
14k views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
3
votes
1answer
149 views

Hide SPContenType in use

I'm trying to hide (or remove it from the new button drop) a SPContentType that is already in use via Powershell scripting. Even if before: $SPContentType.Hidden = $true $SPContentType.Update() I ...
2
votes
1answer
2k views

Event Receivers not added when installing wsp

I have a set of event receivers for a SharePoint 2010 content type and Library. Previously, these would install and automatically be activated when I ran a script to install the wsp solution. I dug ...
3
votes
1answer
61 views

Workflow and Page Content Types

In 2007 I am trying to understand the use of workflows added to page based content types that will eventually live in a page library. If I add a workflow to such a content type then use that content ...
1
vote
1answer
197 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
0answers
510 views

Modify “Edit this Task” Outlook button for SharePoint 2010 workflow task custom content type

I have created a custom content type based off of workflow task content type by following along with this article http://fmuntean.wordpress.com/2009/11/27/infopath-task-forms-made-easy-part-2/ ...
2
votes
1answer
258 views

ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken

I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
0
votes
2answers
2k views

Error “duplicate field name” while adding content type programmatically

Judging by the stack trace, one of the following lines of code is giving me an error: private void AddcontentTypesToDocumentLibrary(SPWeb web, SPList list) { SPSite site = ...
2
votes
4answers
7k 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 ...
0
votes
1answer
2k 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; ...
1
vote
1answer
609 views

Adding a content type to a list gives me a duplicate field error

I have the following code: list.ContentTypes.Add(contentType); It works on my dev environment, but on test fails with the following error: A duplicate field name "[GUID]" was found. I've had ...
0
votes
1answer
513 views

Error While Creating Site Collection

I am creating Site Collection with Team Site Template. When I tried to create it shows me error that The parent content type specified by content type identifier 0x0101 does not exist. Note : ...
0
votes
1answer
884 views

How to Create a View of a Particular Content Type when there are Mulitple Content Types?

Salvete! I have a forms-library with two content-types that appear in the "New Document" menu. How can I create a view and choose which content-type to use? Let me explain. I have two ...
5
votes
1answer
12k views

How to update a deployed content-type?

I created a content-type and applied it inside a document library. Now, if I go to the conent-type gallery and delete one of the fields, and then go back to the library and view the available ...
1
vote
2answers
419 views

What are the Differences between These Content-type Properties?

In my portal, I have created a few infopath forms, and promoted properties in them. When I view the content-types in the site-collection's content-type library, I see that some of the fields are in ...
2
votes
1answer
467 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
1
vote
2answers
245 views

How can I create a subfolder in a documentset of a custom contenttype?

I have a custom contenttype which inherits from documentset. Further for the custom contenttype exists a custom docsethomepage.aspx (WelcomePage). Now the problem is, if I create a subfolder ...
0
votes
1answer
815 views

Sharepoint how to add field to list where field with such name already exists?

I have sharepoint list 'Events' with field Location. I am trying to add from web existing field with same internal name from other package. var fields = contentType.ParentWeb.Fields; SPField ...
0
votes
2answers
2k views

Error occurred in deployment step 'Activate Features': Invalid field name

SharePoint Error message Error occurred in deployment step 'Activate Features': Invalid field name.{guid}
2
votes
2answers
365 views

All columns getting added to Document content type in migrated site

I migrated a SPS 2003 site collection to MOSS 2007 using database migration. There are already some document libraries in the SPWebs of the site collection. Some of the libraries are just the standard ...
0
votes
1answer
40 views

Number field on custom content type working inconsistently amongst items

In a document library, I've included a field of type 'Number' in my custom content type. At a particular point in my solution I increment this field by 1. On certain items it will work, on certain ...
1
vote
2answers
128 views

Use media content types on a publishing page

I'm trying to make a new publishing page that can use either Images, Video or Audio. I'we already made one that uses the PublishingWebControls:RichImageField but cant find equivalents for video and ...
1
vote
1answer
2k views

Bind custom content type to Pages library

I have developed a custom content type and a custom page layout that is inheritted, in visual studio for my publishing site. I am setting the default page layout of the site programmatically, in event ...
2
votes
1answer
2k 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
2k views

Managed metadata vs lookup for column

I have a property content type. I'm wanting to add a property code column which will look up the codes from somewhere else on a SharePoint Online site, where it can easily be managed by end users. I ...
1
vote
1answer
712 views

how to add a BISM content type

I'm using Microsoft SharePoint Server 2010. I want to create a BI Semantic Model Connection file but no BISM content type exists. According to these technet instructions ...
1
vote
0answers
105 views

Why isn't my content type drop-down selection available on my custom list form?

Please forgive my SharePoint ignorance. I needed to make a field read-only on the edit form which required me to use a custom list form. Now another roadblock...the content type selector is gone. Is ...
2
votes
1answer
451 views

Programatically update field/column name in a list on all sub sites [Powershell]

What I want to do is with a Powershell script programatically go through all subsites in a site collection and change a column name in a list from "Web" to "Site". So in easier words: Go through ...
2
votes
1answer
187 views

Duplicate Save and Cancel buttons Document Library Edit Properties

I have duplicate edit and save buttons when I edit properties of a document in a document library. I copied this site from another using Manage Content and Structure. The original site did not have ...
0
votes
1answer
42 views

synchronization of fieldlinks accross sites. (deleting a fieldlink will remove the data?)

We have a corrupted sitecollection where lists are behaving strange in production, but they are working fine on acceptance and test with the exact same deployment steps and scripts. Our best guess is ...
1
vote
1answer
1k views

External content type from SQL stored procedure with EXEC

I'm trying to create an external content type from a stored procedure. I'm hitting one problem, when creating a Read List Operation, though: The wizard is not able to find any return parameters (see ...
1
vote
0answers
702 views

Missing my custom content type in UI List instance

In visual studio I defined some content types. In addition I added each content type to a list definition and created a list instance from each list definition. When I install my solution in ...
1
vote
0answers
51 views

Listdefinitions use Listname as Contenttype

I have a Sharepoint 2010 Foundation, VS2010 and i use the Sharepointfactory(spsf.codeplex.com), if this is important. My typical approach are: I create first some fields, then i use these in a ...
1
vote
2answers
5k views

Removing Content Type: already in use even if removed from all lists

I'm facing a problem with content Types. I added a content type to thousands of lists, added items that uses that CT and now I want to remove it.. The steps I followed are theese: Removed every ...
4
votes
3answers
6k views

How to Submit an InfoPath Form to its Own Library?

Salvete! I have an InfoPath-based content-type. I also created a forms library in several subsites that each use this content-type. Now, I need to fix my InfoPath content-type form so that it gets ...
2
votes
1answer
354 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 ...
0
votes
1answer
3k views

Create a folder structure in a discussion board

How can I create a folder structure in a discussion board? I have already tried this solution: 1) Create a new Site Content Type say called 'Thread Folder' based on the Folder Content Type with ...
0
votes
2answers
1k views

How to update a infopath built content-type

With InfoPath I created a content type and saved it in a library. Now I want to edit the infopath form and save it, but it tells me: The form template cannot be published to the server: ...
1
vote
1answer
2k views

How to use Infopath to Create a Custom Content Type for a List?

Salvete! I want to use InfoPath to create a Content Type for a List. I know how to create a site-content type using infopath, but that generates an form that you have to save in a library. I want ...
0
votes
2answers
2k views

How To Autosave a Form Based on a Infopath-based Content Type?

Salvete! I have followed this guide and created a site-content-type using infopath (very tedious if you have lots of fields). Now, how can I make it so folks can fill out my new form? Then I ...
0
votes
2answers
107 views

How to add other content to a content-type?

Salvete! I want to create a custom content-type, but I want to add a few subtitles and maybe some custom content, such as graphics, or explanations, to the fill-in area. How can I do that short of ...
0
votes
1answer
62 views

How to specify the name of a ContentType in code for multi-language site?

according to the documentation I can do: <ContentTypeID="0x01000188a30d01ae4607bbe5800bbbaf2550" Name="$Resources:LocalizeContentType,ContentTypeTitle" .... However I seem ...
0
votes
1answer
325 views

Uploading a document of given content type invokes wrong workflow

Problem summary: Given 2 content types and a different workflow associated with each CT, one workflow works properly for it's CT but when the other CT is uploaded the wrong workflow is invoked. I have ...
0
votes
1answer
169 views

add field directly to a Document library or via a Content Type

What is differents between adding a field (Site column) directly to a document library or via adding the field to a content type and then add this content type to the list? Because fields directly ...
0
votes
1answer
592 views

Pages list, content types and custom field display names

While investigating SPList multiple content types - "Column does not exist" error, I discovered something odd. Background: I'm using the SharePoint Publishing feature I have a custom ...
0
votes
0answers
2k views

SPList multiple content types - “Column does not exist” error

I'm using the Publishing feature of SharePoint. I have a custom Content Type that inherits from the ArticlePage Content Type, and is bound to the Pages list of a given site. My custom Content Type ...
2
votes
2answers
294 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 ...