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
176 views

SharePoint 2010 Workflow Deployemnet from DEV to UAT

I have Sharepoint 2010 DEV and UAT sites. I have made some changes in DEV workflow and I want to deploy the changed workflow to UAT site. I have created the workflow template and saved .wsp file to ...
1
vote
1answer
847 views

Add column to a Content Type which is associated content type of Page Layout, PL not updated

All I do below is with Visual Studio 2010. I cannot use Sharepoint Designer because I don't have the right to do it. I have a Content Type, which is the associated content type of a page layout. They ...
3
votes
3answers
121 views

Is a ContentType worthwhile/necessary in this situation?

I'm creating a custom List Definition. I've previously been told that I should create a ContentType, and a ListDefinition from that. But this seems to mean a lot of duplication in my project files. So ...
2
votes
1answer
164 views

Help Return Lists With With No List Items

This is my first time posting and I'm looking for some help, so hopefully someone has an answer. I used the search, but didn't find anything. I created a custom list definition, and content type ...
2
votes
1answer
255 views

Loading NewForm based on Content Type

I am using the Training Fab 40 template to build a training site in MOSS 2007. I have another content type for my Course list. I want to load the NewForm.aspx based on Content Type selected. The two ...
2
votes
3answers
1k views

Add new Content Type to Multiple Document Libraries in SharePoint online(Office 365)

I have one Sample Document Library on SharePoint Online (office 365). this Library has 5 different document content type. And using this Library as a template i have created 300 new Document Libraries ...
2
votes
1answer
4k views

How to associate a list workflow to list-specific (not site) content type

I am trying to make a workflow for a specific list content type. Unfortunately, there seems to be no option to do so. I can create a list workflow in SP Designer but can't find an option to associate ...
2
votes
1answer
2k views

How to rename a Content Type associated to a List

I'm trying to change the content type name of a specified List. I have a Content Type called (for example) ExampleCT that I change from Site Settings in "Example CT" pushing down changes to children. ...
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
119 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
716 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
15k 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
155 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
199 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
520 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
265 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
8k 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
660 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
537 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
1k 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
13k 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
425 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
483 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
261 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
850 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
383 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
130 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
733 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
108 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
483 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
209 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
728 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
6k 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
7k 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
381 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 ...
1
vote
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 ...