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)

1
vote
2answers
638 views

Matching value from single line of text column to lookup column

I have a library containing a large amount of items. The library contains a column of type 'Single line of text' with a code in it. The code was taken from an external system and entered manually. ...
0
votes
1answer
888 views

Can I change a custom SPContentType's display name?

I created a SPContentType of my own. In the Sharepoint Site Settings I see all the default content types with names in my language (polish). How can I change display names for my own content types? ...
3
votes
1answer
915 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 ...
3
votes
2answers
5k views

How to get default content type of list programmatically

How can I get default content type of sharepoint list programmatically?
2
votes
0answers
157 views

How can I create a Enterprise Wiki pagelayout with a repeating content type?

So this is the situation: my customer wants to have a web service catalog in an Enterprise Wiki. Per service we need to store fields like: - service name - description - goal - status - version ...
2
votes
1answer
132 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 xmlns="http://schemas.microsoft.com/...
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
852 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
256 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
120 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
726 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" Url="...
12
votes
6answers
16k 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
156 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
200 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
523 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 = web....
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
666 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
542 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 content-...
6
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 columns,...
1
vote
2answers
426 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
491 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
262 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
858 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
385 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
131 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
738 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 http://technet.microsoft.com/...
1
vote
0answers
109 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
490 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
213 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
732 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 ...