0
votes
0answers
17 views

Updating SharePoint 2013 custom content type with Visual Studio

What is the best way to do this without ending up with orphaned content types and other problems? Specifically, removing and updating columns for a content type that's currently in use.
0
votes
1answer
43 views

Add custom folder programatically to Document Library

I have a custom Document Library that has a custom content type which is an extension of a Folder (just adding some more fields). I'm trying to, in code, add a new item of this content type to the ...
0
votes
1answer
30 views

scope of content types

I was reading on content types and I see that share point allows allows to create them at site collection and list level scope. My question is that in visual studio where can we specify whether this ...
0
votes
1answer
47 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
1
vote
1answer
320 views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
0
votes
1answer
282 views

PreSaveAction on a ListInstance with a custom ContentType

Everything I've read about PreSaveAction requires me to edit the NewForm or EditForm to add the reference into the form. However, given my list is created from Visual Studio using a custom content ...
0
votes
1answer
28 views

Inheritance of Content Types in a Single Feature

I am having the same issue as seen in http://stackoverflow.com/q/9699451/240372 yet the solution does not work for me. The ID's for my Content Types are the following A ...
1
vote
0answers
153 views

Can the choices in a Field Type=Choice be updated when referenced in Content Type

Using Visual Studio I am creating several custom Tasks to be created in a Workflow. Each of the Tasks have the same fields -- an area for appending comments and a Choice field for indicating where the ...
1
vote
1answer
241 views

Add Content Type to existing List when associating Workflow

Using Visual Studio I have created a package for SharePoint 2010 that deploys a Workflow that creates Tasks of a custom Content Type Id. When I first deployed it, I noticed that Tasks were being ...
0
votes
1answer
318 views

ListDefinition and ListInstance failures with custom content type

In VisualStudio 2012 I have a custom content type that I want to use in a ListInstance. When I create a ListDefinition or ListInstance using VisualStudio and add my ContentType I get feature ...
0
votes
1answer
500 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
243 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
46 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 ...
1
vote
1answer
521 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 ...
2
votes
1answer
216 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
1k 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}
1
vote
0answers
527 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
101 views

Help understand ContentType/List upgrade

Everywhere i read on the web it says that Content Types and List once deployed through Xml files they cannot be updated anymore. I have created a VS 2010 solution, created a SharePoint List ...
1
vote
1answer
155 views

Non-global fields for custom content types?

I've been tasked with creating a fairly complex system in sharepoint 2010. Coming from a background of from-scratch .NET applications, I'm used to defining tables with their own "local" columns. My ...
1
vote
2answers
330 views

Tool to create ContentType CAML

Are there any good tools to create the CAML required for ContentTypes? I'm building most of my content types in Visual Studio.
0
votes
1answer
202 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 ...
3
votes
1answer
363 views

Why Is My Content Type Replaced With a List Instance Detail When I Deploy My Project in Visual Studio, but Not When I Deploy it Manually?

I'm doing something that I think is pretty typical. I've created a content type, descended from Document, to go into a document library, like so: <?xml version="1.0" encoding="utf-8"?> ...
1
vote
1answer
2k views

How to resolve “A duplicate contenet type name…” error for project with custom content types?

I have a project that I have been using to deploy a custom content type. Recently i decided that I needed another content type that would inherit from the original one. I created a new element file, ...
0
votes
3answers
344 views

Sharepoint contenttype columns -> types

Does anybody have a list of all internal "type" names of contenttype - columns in SP2010? I am creating a custom contenttype in VS and really don't have an idea where to get them from. I already ...
1
vote
2answers
144 views

What does Microsoft mean when they say “built-in type”?

I am working on a custom content type and I have a little bit of confusion over how the Inherits attribute of the ContentType element works. I had read in their documentation that: If Inherits is ...
0
votes
1answer
222 views

Changed the “Site URL” associated with my Visual Studio project and can no longer deploy?

I had been working with a custom content type in one of my development site collections and everything was working fine. I then tried setting the "Site URL" in my project I started getting this ...
1
vote
2answers
3k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
0
votes
3answers
264 views

Content type creation in visual studio - title field

I want to create content type based on Element content type, which has only one field - Title. I'd like to modify this field's display name. How can I find the GUID of title field from base content ...
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
1answer
247 views

limit visual studio workflow to base content type “document”

i want to limit my sharepoint 2010 workflow, which i developed in visual studio 2010, to the base content type "Document". Is there a way to accomplish that? i searched the sdk but have not found ...
6
votes
3answers
398 views

Ups and Downs of Content Type Creation Methods

There are several places online I've read to only create content types in feature XML. However, the reason for this seems to be to keep the content type as deployed in a feature. As I understand it, ...
6
votes
3answers
2k views

Content Type Inheritance

In simplified form, I have the following situation. A Parent content type <ContentType ID="0x0100db5b9dac9c5f4d098820f922eebf3b39" Name="Parent" Group="Example Content ...
1
vote
7answers
9k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...