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)

0
votes
1answer
306 views

Opening newform/editform.aspx in SP Designer for further customization only shows default forms

On a document library I have a custom content type and I want to edit its forms in SP Designer. Going to the library in Designer and clicking on any of the forms in the Forms section shows a seemingly ...
0
votes
1answer
927 views

Different View for Top-Level folder and folders of a Content Type (programmatically)

I have a Document Library where I add Folders of a specific Content Type. Inside these folders I can upload documents. I would like to have different Views for both. I found a manual solution as ...
0
votes
1answer
1k views

How to save infopath form with unique filename when it is published as site content type

I created an InfoPath form which should be published as a site content type. The content type will be used in several libraries. The form must create an unique filename for every new instance. Every ...
0
votes
1answer
433 views

Adding a required column for an existing content type, what happens?

This is just a theoretical question as I am in planning stage, so I dont need to know how to do things, just if they are possible. Lets say I have a content type that I need to change and add a ...
0
votes
1answer
89 views

Changing character limit on inherited column of custom content type

I've inherited the OOTB content type 'Announcement'. I want to set a character limit on the 'Body' column for this particular child content type. Is this possible/feasible or is this generally ...
0
votes
1answer
2k views

How can I add button to ribbon that visible only for specific content type?

I have document library and i want to add button that will be visible only for my content type: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: ...
0
votes
1answer
346 views

Sequential workflow running twice sharepoint 2007

I inherited a site with a sequential workflow (created in Visual Studio 2008). The workflow is attached to a content type and is set to run only on item created. Recently, I attached three declarative ...
0
votes
1answer
49 views

Should i use content types, if i develop a solution for SP with Visual Studio?

I'm a little bit confused about the question. Currently we are using site columns (which make perfectly sense for me) and content types and lists which are using that content types. As i see it ...
0
votes
1answer
511 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
875 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 ...
0
votes
1answer
814 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
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 ...
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 ...
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
323 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
168 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
202 views

Multilingual User Interface (MUI) not works with SiteTemplates

I've created a CType and create columns namings for multiple languages by changing the current language and set the corresponding naming. Then I create a Subsite (same language based) using those same ...
0
votes
1answer
82 views

Including Custom Columns when retrieving Content Type

Using the Lists web service I am retrieving a content type as follows; var contentTypeWithFields = listsService .GetListContentType(listId, contentType.ID); However, the result does not include ...
0
votes
1answer
1k views

How to extend the Survey content type?

This may be basic but being a novice in SharePoint, I am not able to figure out how to create a new Content Type with Survey as base type. Adding a new Content Type in Visual Studio presents me a list ...
0
votes
1answer
274 views

Programmatically Creating Self Referencing Content Type using C# is it possible?

I was wondering if it's possible to create a content type using C# that has two columns, the second column looks up the first column. eg. Title | myColumn myColumn should be a lookup column and it ...
0
votes
2answers
1k views

Hidden content types

All the default content types are being hidden in our sites how to get them visible on all our sites.We are having SharePoint 2010 and i could see all the content types visible when I open the site ...
0
votes
1answer
845 views

Cannot delete duplicate content types where more than one type is duplicated

We have a strange situation where we have managed to get two copies of a custom content type referenced in a document library. The content types had the same name and content type ID, and this ID was ...
0
votes
1answer
81 views

Custom Content Type on Documents SharePoint 2010

I'm trying to attach a custom content type to Document Library so that it's available to users whenever they upload a new document, they'll have the necessary columns visible. I'm struggling to staple ...
0
votes
1answer
822 views

I can't remove Content Type programmatically? How I can do it? SharePoint Foundation

I create in SPD 2010 workflow which create custom content type with column. I removed workflow, list and column and I also want to remove content typ but I can't do it, SharePoint shows this info "The ...
0
votes
2answers
4k views

Document Library in Site Definition with custom content type

I am attempting to specify a custom content type onto a reference library which is being provisioned in a site definition but am so far failing. I have read:- Deploy document library with multiple ...
0
votes
1answer
103 views

Help to understand content type

Given the below definition of a content type: <List xmlns:ows="Microsoft SharePoint" Title="Algorithm Types List Definition" EnableContentTypes="TRUE" FolderCreation="FALSE" ...
0
votes
2answers
395 views

ContentType.FieldLinks.Add() issue with hidden and required

I have a feature that does the following in the feature activation Code : Creates a new SiteColumn (Type=Text, Hidden=False and Required =True) Set the french version of the Name (using ...
0
votes
1answer
613 views

Why is the associated lookup field not on the dispform.aspx?

I have three lists: Events (calendar) Customer1 (custom list from scratch) Customer2 (custom list from template) When I added the lookup of Customer1's ID and added the associated field "Title," ...
0
votes
1answer
590 views

List of Sub Sites and Workspaces

I would like to create a list of Project Sites and links to pages, on the Projects site. To contents of Sites and Workspaces. This process should be automatic when you establish a new project site, ...
0
votes
3answers
4k views

Display Calculated Field as link

in a custom ListDefinition I used a calculated field to format a Text into an URL. I'm developping in VisualStudio2010 for SP2010. Here is my ListDefinition: <Fields> <Field ...
0
votes
1answer
299 views

How do I add a new ContentType using Feature Upgrading?

I have created a new Content Type. How do I publish it using Update-SPSolution and feature upgrading? I added the following Code to my Feature Manifest: <UpgradeActions> <VersionRange ...
0
votes
1answer
4k views

Error Message - Field type Int is not installed properly. Go to the list settings page to delete this field

I saw similar post on SO but it didn't worked out for me. I've created a List Definition project in VS. On one of the fields I set type to Int instead of Integer, and tried to deploy List Definition. ...
0
votes
1answer
943 views

Sharepoint 2007 lookup column

I have a site dropdown column using a list as the datasource (lookup). I was looking for a way to have the column be both required and have a default blank value. I read that is is not possible ...
0
votes
1answer
334 views

Field required in Content type, but not in my list

I don't know why but when I try to bind a list with my content type, fields having a status to "Required" in my content type are not Required at all in my List. I'm binding the field with this ...
0
votes
1answer
1k views

How do I make Title property mandatory on a custom content type?

As title says, I want to use the standard SharePoint Title property, but I need to make it mandatory. It's not an option to do this through the 'Documents' settings of the UI, I need to define it as ...
0
votes
1answer
59 views

How to add extra custom content type to Contacts based ListInstance

I am trying to build a custom ListInstance for deployment in Visual Studio. It should be based on the Contacts template so it can be opened in/linked to Outlook, but I also want to add two other ...
0
votes
1answer
283 views

How to iterage through Message content type in Discussion list

I need to iterate through all the columns (default + custom) in Message content type in Discussion list. i have used this code: //select a single discussion (in this case, the first one), to view ...
0
votes
2answers
565 views

How is content type inheritance set?

I am building a WCM site. I have a custom Content Type for my pages, set at the Site Collection level. When I create a sub site, however, that content type is not present in the Document Library ...
0
votes
1answer
264 views

Custom Site Content type is not getting mapped for the required taxonomy field

I have a custom project site template which is coded in c#.net VS 2010, I have deployed the projects related to the project site template into central admin through VS After deploying the solution I ...
0
votes
1answer
220 views

Change form based on content type

I have a list which have several content types attached to it. When you click on new item I want a dropdown box to appear where you can change the content type and it then changes the fields that can ...
0
votes
2answers
115 views

update content-type

I've got a simple question, but don't know how to solve the problem. What's the best way to update an already deployed content-type? I want to keep the lists, that already use my old one, but need to ...
0
votes
1answer
113 views

MOSS 2007 Links List Changing Automatically

Whenever I post a link to an external site, for some reason SharePoint changes the domain name to the server domain name. E.g. If I post google.com/new-url, it will change it to mysite.com/new-url. ...
0
votes
3answers
2k views

How do I query items that are sourced in another site collection?

I have a set of site collections (call it 'Personals'). Each of these site collections has a page on the root site that wants to display a feed of 'announcements'. These 'announcements' need to be ...
0
votes
1answer
570 views

SPMetal, lookups without EntityRef

I defined site definition with two content types and two list definitions. I have lookup site column <Field ID="{4318c52f-11c6-129a-b832-5ab22450b17c}" Type="Lookup" ...
0
votes
2answers
573 views

Populating Word Table with Server Property

I am successfully using document property promotion and demotion in a current project. There is a document library where the properties are used to fill out a templated Word document. This is using ...
0
votes
1answer
268 views

Additional columns in ContentType do not render in Page Layout in SharePoint 2010

I created a content type and used that to create a page layout. It works fine. Now I need to add few more columns to content type. These columns also show up in SharePoint designer Toolbox and I drag ...
0
votes
1answer
270 views

Custom File Type on Upload Menu

I have a custom Content type called Deliverable and it has been inherited from Document content type. but when I go to document library and click on Upload Document button on the toolbar, I only See ...
0
votes
2answers
468 views

Conditionally hiding fields on publishing pages

Is it possible to hide some publishing fields on page layouts based on page content type field values? For example, if some field named Show Main Image is not set to true, I don't want to show Main ...
0
votes
1answer
214 views

Multiple ListItem Owner

I need to create a List that contains multiple listitems. Each listitem should have 2 autors, or 2 persons wich have permissions to change the item. The users who are allowed to change the items are ...
0
votes
1answer
952 views

Event Receiver for onitemdeleting attached to content type firing on all content types

I have an event receiver on item deleting which is being activated through code, the following is my code: SPContentType myContentType = web.ContentTypes["abc"]; //class where event receiver methods ...