set of columns and behaviour applied to lists
1
vote
2answers
138 views
How to check if a list content type has its link broken from the site collection content type definition
Its very clear to me that content types after they are deployed their inherited lists shouldnt be changed manually using the web gui.
“Do not, under any circumstances, update the content type ...
1
vote
2answers
54 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
367 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.
...
1
vote
2answers
346 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 ...
1
vote
1answer
153 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
133 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
2k views
How to create custom EditForm and DisplayForm for custom content type?
I have developed a custom ASPX SharePoint application page using Visual Studio. I would like to use that page as the EditForm and DisplayForm for the custom content type.
At the moment, my page is ...
1
vote
1answer
229 views
Dispose issue when working with content types
I am seeing an issue with un-disposed SPRequest objects in the ULS logs when i work with content types in the object model.
My code is as follows (in previous methods run as part of this request, the ...
1
vote
3answers
281 views
How to access documents with in a custom content type of Document Set
I have a Library, which stores document sets (the content type here is a documentset which contains more than one word document). Currently I can to get the items from the library using the below code
...
1
vote
1answer
1k views
Moving site columns and content types between farms
I can't seem to find the codeplex solution that helps export site columns, content types and import back to another sc or farm.
Idea is to retain the guid for these. I know create wsp vs project is ...
1
vote
2answers
1k views
Content Type Feature Activation nativehr 0x80070055
After building a solution and feature to deploy a set of content types I was able to successfully activate the feature and use the content types. However after making some changes and redeploying and ...
1
vote
1answer
97 views
creating content types with Out-of-Box vs Server Object models
Are there any advantages in creating content type using out of box vs visual studios?
1
vote
1answer
860 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, ...
1
vote
2answers
381 views
Manage Content Types in Site Pages library
Is it possible to manage content types for the Site Pages library in the browser? If this is not possible, what's the rationale that this can be done in nearly every library and list, but not Site ...
1
vote
2answers
1k views
Best method to bind content types to a list?
Where should I "bind" content types to my list?
I need to bind two different custom content types. I tried to do it in the list definition but the changes did not take affect. Doing it next to the ...
1
vote
2answers
428 views
How to make Title READONLY in custom list
If I set the title field to Read only (since I will calculate it based upon other values) in the ListAdded Event handler, when i open up a form for creating a new item i get an error.
Event ...
1
vote
2answers
717 views
Reorder Content Type Columns
I have a custom content type with some custom site columns. I can't find anywhere to reorder the columns for the content type. How can this be done in Sharepoint Designer 2010? Thanks.
1
vote
2answers
379 views
Don't show custom content types when click on New
Business users don't want to show the content type when a user goes to the list/doc lib and clicks on new drop down. I used contypeType.Hidden = true; but it did not work.
...
1
vote
1answer
627 views
How to update choice field options with a feature upgrade?
I created a feature with a field definition with choices. These choices are bound to language dependent resources using the $Resources:file:key system. Resource files are included.
As the feature is ...
1
vote
3answers
2k views
Content Type Hub Syndication and lookup site column within a content type
I am a content type which has to have a lookup field.
I have created two exactly identical lists in hub site collection and the consumer site. Then I created the lookup site column and added to the ...
1
vote
2answers
748 views
Attaching an Event Handler to only one content type or list
Could someone help and explain how I can attach an event handler on a custom content type or a particular list?
Currently, when I deploy my event handler as a feature and activate the feature, it is ...
1
vote
1answer
231 views
Error occurred in deployment step 'Activate Features': The parent content type specified by content type identifier 0x0101 does not exist
I have created 80 content types. some of them are inherited from some other content types. I have placed all the content types in feature in such an order that parent content types are at top. But ...
1
vote
1answer
139 views
How to enforce metadata in document information panel in SP2010
My document library supports several custom content types. When "Add new document" is clicked, the Browse dialog for uploading the file is followed by the Document Information Panel which is properly ...
1
vote
1answer
216 views
Programmatically create a new document based on a content type template
As in the title, I need to programmatically create a new document based on a content type template. Does anyone know the best way to do this? Normally, to add files you use Web.Files.Add(), but all ...
1
vote
1answer
279 views
What is the purpose of SharePoint 2013 Site Content Type - “JavaScript Display Template”?
Under SharePoint 2013 Site Content Type - JavaScript Display Template Content Type is present, what is the purpose of the content type and how we use it?
1
vote
2answers
302 views
How to change site collection URL (Content Type Hub) in Managed Metadata service application
in Application Management -> Manage Service Applications -> Managed Metadata Service. Select manage metadata service and click properties. In properties window, I have added Site collection URL for ...
1
vote
1answer
258 views
Issue with lookup column in subsite
I add lookup columns with a elements.xml file and like everyone else I had issues with them once deployed, i.e. "Get information from:" was empty for the lookup list. I found ...
1
vote
1answer
91 views
rootFolder.ContentTypeOrder throws unexpected error for sandbox solution
I'm trying to add content types into a library list, in order to make "Visible on New" option ticked.
Firstly I enabled contenttypes in the library, then I want to do this:
SPFolder rootFolder = ...
1
vote
2answers
209 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.
...
1
vote
1answer
149 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 ...
1
vote
1answer
45 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
1answer
158 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 ...
1
vote
2answers
163 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 ...
1
vote
2answers
97 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 ...
1
vote
1answer
362 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 ...
1
vote
1answer
118 views
Content Type adding and removing to a list: “ghost content type” problem
I have a problem with Content Types... I have houndreds of lists that has some content Type and a configuration list in which I store the content type to be attached to my custom list type.
I have an ...
1
vote
1answer
64 views
Access exceptions when trying to add a content type to list
In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
1
vote
2answers
851 views
create content type from workflow task
I have been looking all over the internet for instructions on how to create a content type based off the Workflow Task type. Everything I have found thus far seems like it is incomplete or has gaps ...
1
vote
1answer
161 views
How to specify content type when creating a list item using web services?
This is what I have tried so far:
string newPageXml = String.Format(@"<Batch OnError='Continue'>
<Method ID='1' Cmd='New'>
...
1
vote
1answer
380 views
ContenTypes on List Definition not added
I've an ListDefinition with some references to existing Content Types (provided by CTH) but when the list is created the content types are not added.
elements.xml
<Elements ...
1
vote
1answer
405 views
Library ECB shows “Change New Button Order” for all users
We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set.
We also have a custom action attached to ...
1
vote
2answers
123 views
Provision a file through a module (CAML) and choose its Content Type
How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
1
vote
1answer
898 views
List Templates and Custom Contenttypes missing document template on list creation
I want to create a new document library definition for general use in our SharePoint environment. This new list has some predefined content-types. Users will add this list themselves one or more times ...
1
vote
1answer
556 views
How to update all elements child of a Content Type programmatically
when (by web interface) user access to a content type (in site settings -> content types) and adds or remove a column there is a flag near the end that says something like:
"Update all content types ...
1
vote
3answers
2k views
Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents
I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
1
vote
2answers
561 views
Custom SharePoint 2010 Documentset contenttype
I'm working on a custom contenttype of the type Documentset. I want to set the alllowed contenttypes, but this is not working, it's only showing the defeult document. I read several blogs but i can't ...
1
vote
1answer
97 views
Getting library field parameters when inherited from a site column
The SetUp
I have created 3 site columns. All set to not required fields. I have added these site columns to a content type. This content type I have added to a document library. The document library ...
1
vote
1answer
147 views
Ignore content type on search
I have several content type names.
I want to remove one from being indexed so that it doesnt show on my refinement panel
1
vote
1answer
480 views
Globally Published Workflow only available for Parent/base content type and not the children
I've published a globally reusable workflow which is associated with a parent or base content type.
Within one of my subsites I have a library full of documents that are child content types of this ...
1
vote
2answers
940 views
Why isn't “Column ordering” available in my list settings?
I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
