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
1k views

Error while form opening if it is created from SharePoint Designer

I got stuck! :P My goal: New form in source library ====> New form in target library [both web-browser enabled, following Infopath templates] Using "create list item" action within a workflow ...
3
votes
1answer
740 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
1answer
161 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 ...
3
votes
1answer
133 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 ...
3
votes
1answer
57 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 ...
3
votes
1answer
989 views

“No item exists at https://<internal_url>” after file upload when accessing the site externally

I have created a SharePoint 2010 site that is accessible both internally and externally. I have created alternate access mappings for https://<internal_url> (Extranet) and ...
3
votes
2answers
725 views

How to make Add new Item link to navigate to Custom Form

I have made Custom Content Type, and List Definition from that Content Type. What I'm trying to do now, is create custom display/edit/add forms for List Item, and when user clicks on Add New Item, ...
3
votes
2answers
1k views

Nested (inherited) content type and inherits false in 2010

I can't find a CAML based solution to the following problem, I appreciate that if I created/edited the content type using the object model it would probably be OK but for this situation I need to use ...
3
votes
1answer
471 views

Will lists inherit the edit form from it's Custom Content Type?

I have created a custom content type and I would like to have all lists that use that content type use it's edit/new forms. Below is the XML i have in my Elements.xml file: <?xml version="1.0" ...
3
votes
1answer
90 views

Starting fresh project using Sharepoint 2010 foundation

I have a wss 3.0 site that is working and functional. I didn't wanted to migrate the site to Sharepoint foundation as there are some issues with the site during migration. Also I would like to have ...
3
votes
1answer
3k views

“Invalid Field Name” Exception when using Provisioning

I wanted to create a site template package. Instead of going with a custom site definition, I planned to go with the recommended "Provisioning Provider" technique. The solution was going just fine. ...
3
votes
1answer
224 views

Why is this workflow to create a document from a custom content type just creating a blank document?

I have a document library with a custom (document) content type set as default (the only content type), and I've edited the template to use columns to populate the document. When I create a new ...
3
votes
1answer
339 views

I need help using multiple content types in a wiki page library

I currently trying to used multiple custom content types based off of the wiki page content type in one wiki page library. "Allow management of content types" has been enabled with the designer The ...
3
votes
1answer
475 views

SharePoint Framework for Programmatically creating Fields, ContentTypes etc

I am looking for a SharePoint Framework/API which can be used to programmatically create Artifacts like Fields, Lists, ContentTypes etc using SP 2010 Object Model. The objectives are: Provide ...
3
votes
2answers
2k views

Calculated column on Start Date in Calendar List Not working

In SharePoint Server 2010, I have a standard calendar list created with an attached custom content type. I'm simply trying to create a calculated column on the event's start date in the content type ...
3
votes
0answers
95 views

Risk in inheriting from “Event” content type?

I'm looking to inherit from the "Event" content type (0x0102) to enrich the meta data associated with calendar items. OOTB it's hidden but I've found many blog posts talking about how to get round ...
3
votes
3answers
2k views

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I ...
2
votes
4answers
6k 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 ...
2
votes
3answers
341 views

Sharepoint feature still running after being uninstalled, files removed, IIS restarted

I had created a feature that changes the content type of a folder when it is created, which works fine. However, I wanted to make a change to it by adding another folder for it to work in but after ...
2
votes
3answers
3k views

Sandbox Content Type and Resource (RESX) File

I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
2
votes
2answers
2k views

Content Type Hub push Content Types with Inherit=FALSE

We're deploying our custom content types to the content type hub with a feature. The content type with Inherits="TRUE" gets published to the subscriber sites without a problem. However for all content ...
2
votes
1answer
2k views

How do you determine the Consumers for a given Content Type?

Is there a quick powershell script to find out all the consumers who are consuming a given content type? If yes, how do you do this with powershell?
2
votes
4answers
8k views

SharePoint search not indexing contents of document libraries

I have a strange problem where the MS Word documents my documemt libraries are not being indexed. When i look at the crawl log i can see that the crawl is indexing the libraries themselves but not any ...
2
votes
2answers
3k views

Event receiver attached to content type via XmlDocuments ignored?

I have a content type defined in Elements.xml and I want to add an Event Receiver. My Elements.xml looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements ...
2
votes
1answer
410 views

Random Hidden Fields On New Content Type

I have the following code used to programmatically create content types. The code creates and deletes the content type using a windows form app which I will eventually transfer to an event receiver. ...
2
votes
5answers
6k 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 ...
2
votes
1answer
3k views

Making items in a custom list form “clickable”

I've got a display form for a list in Sharepoint 2010. I've added a second list which is related and added a section to my form using "Related Item View" in Sharepoint Designer. Since the related ...
2
votes
2answers
443 views

Hide List Content Type via CSOM

How to programmatically (using CSOM/JSOM) uncheck the Visible checkbox for a content type: so that the content type (Document Set above) is not anymore visible in FILES > New Document: In order to ...
2
votes
4answers
8k views

Create a link to “New Document” template link

I'm simply looking to create a link on my home page that goes directly to the button that you click to open a new instance of the template you created in your content type. If I described that wrong, ...
2
votes
2answers
94 views

hiding a content type in 2010 using the GUI

Guys i want to create a base content type but i dont want anyone to be able to use this content type when assigned to the library. Is there a way through the GUI to set this? If not perhaps a ...
2
votes
1answer
251 views

Setting Sealed to False… Any repercussions?

I need to attach an event receiver to a content type created by SharePoint: FolderCT.EventReceivers.Add(SPEventReceiverType.ItemAdding, SharepointReceiversAssemblyName, CTReceiverName); ...
2
votes
1answer
394 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 = ...
2
votes
1answer
127 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 ...
2
votes
1answer
1k views

Content type features refusing to enable

I am performing an upgrade from a 2007 environment to a 2010 environment and am having an issue with content types. In the 2007 environment, there was a custom content type from our codebase in a ...
2
votes
4answers
2k views

Document Properties Demotion from ListItem field is not working

I have a content type in a library configured with a word document as a template, it is the default content type. When creating via the UI from New item entering information into the DIP sets values ...
2
votes
1answer
400 views

Sharepoint Designer > Use Custom Field from Content Type to set a HTML Attibute

I'm really not a Designer, but unfortunately, I have to design something. Any help will be much appreciated. The Scenario: I have a Page Layout with my own Content Type. One of the Fields in the ...
2
votes
2answers
2k views

Is it possible to use DocIdRedir.aspx for linking to the display form

We are using a Link to a Document contenttype. The url used in this contenttype contains an url like http://ont/abc/_layouts/DocIdRedir.aspx?ID=N57YVKN5WQKX-2-2247. When testing this url it always ...
2
votes
3answers
1k views

Are site columns and content types really worthwhile?

I started doing Sharepoint development by the book. From the very start I was taught, create A site column -> A content type -> A list definition -> A list instance. So the theory here is you have ...
2
votes
3answers
692 views

CrossListQueryInfo filtering on content type: no results

I'm trying to use CrossListQueryInfo to query all Pages Libraries (ServerTemplate 850) across the site collection for a particular custom content type. However, specifying the content type in the ...
2
votes
3answers
5k views

Custom Form Template is not being used in SharePoint 2010

I have tried to create a custom form template but without success. I have followed several tutorials but it still does not use the custom template. If I change the template id to override the ...
2
votes
2answers
193 views

More than one Pages library?

We have requirements where we need to add multiple pages libraries on a site, but this seems impossible to do via both the GUI and code. Is it all possible / supported ?
2
votes
1answer
84 views

List Content type mandatory fields

We have a list content type in SharePoint 2010. Some fields are mandatory. When not all mandatory fields are filled out, we only get to see the red error message for the date picker field. Once the ...
2
votes
2answers
633 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" ...
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
311 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 ...
2
votes
2answers
284 views

Lookup List and return data from within a Form

OK, I'm beginning to despair at SharePoint...please help restore some faith :) Seems some very basic things are very hard to achieve? 1: I have data in an SQL database table. 78,000 rows, but I want ...
2
votes
1answer
2k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
2
votes
1answer
120 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 ...
2
votes
1answer
726 views

Provisioning Custom Content Types and Document Templates

I am using a complete 2010 environment (SP,VS and Word) but when I provision my content type using XML, while it provisions everything and appears to work, when I create a new Word document from my ...
2
votes
2answers
1k views

When can the content type be updated in code?

I have created an event handler for ItemAdded so that when an item is added on the site, my code checks to see if it's a folder. If it is, it should change the content type of that folder to a custom ...