Tagged Questions

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
40 views

Problem with Localization of ContentTypes

I've developed some content types. There are no resource files in my solution. When I'm deploying them to an English team site the description is correctly displayed. If I deploy them to a German team ...
2
votes
1answer
2k views

Create a hyperlink to open a New List Item Content Type in modal View in SharePoint 2010?

I have been researching this for a while now and no where can I find a solution that works perfectly in a list with multiple content types. I needed to create hyperlinks on a page where the user could ...
2
votes
1answer
37 views

HELP - Need to restore the Event Content Type in SP 2013

Hoping someone can help...accidentally deleted the "Start Date" and "End Date" site columns and screwed up the Event Content Type. Can it be restored?
1
vote
1answer
456 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
322 views

Programatically publishing Content Type in Content type Hub

I have a custom content type which I am deploying to a Site collection in which content type hub is configured. To use the content types in different site collection after the content type is deployed ...
1
vote
0answers
27 views

Content type keeps document properties when overwritting file

A document library we have implemented on our SharePoint 2010 environment is behaving strangely. It has been created using a custom content type with several multi-lookup fields. When a file is ...
0
votes
2answers
232 views

How do I show a field in dispform that's been hidden in content type?

Sharepoint 2010 Enterprise. This is document library for word documents. I have some fields that are set by workflow that I want end user to see but not be able to edit. I was going to just use ...
0
votes
0answers
85 views

Problem creating content types programatically on a Content Type Hub

So I've been having issues with a module I built to create content types. It goes by steps like this: 1 - I create an empty content type (it may or may not inherit from another content type -which ...
0
votes
1answer
325 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
540 views

Mass content type editing

I would like know how to change the content type of bulk files/multiple files as currently once I uploaded a quantity of files I'm only able to modify the content type one at a time. Moreover, is it ...
0
votes
1answer
29 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 ...
0
votes
0answers
96 views

The element of type field fo feature 'feature' threw an exception during activation: a duplicate field name 'fieldName' was found

I am taking over a SharePoint environment. The previous developer created a custom Workflow with Custom Activities, etc. One of the steps in the Workflow is to create a web using a custom Site ...
1
vote
0answers
184 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
264 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
22 views

Locating columns that have been added to the base document type farm-wide

We have a legacy SP2010 farm (originally migrated from SP2007) that long ago had two metadata columns added to the base document type. We wish to remove them because they cause "duplicate field" ...
2
votes
1answer
41 views

Solutions for a long list of content types

We have a library with about 18 content types available when creating a new document. I know our users will not like the long dropdown list that is rendered when clicking new document. Are there any ...
2
votes
2answers
94 views

SharePoint 2013 Search Issue

We have setup SharePoint 2013 on windows 2012 server. It is have cumulative update until August. Its version is 15.0.4535.1000. I have created two site content type of document type. Both content ...
1
vote
1answer
138 views

Metadata Assigned to a Folder

Working in SP13. Is there a way to assign metadata if a document is moved into a folder in a document library? I already have folders with documents inside. If a user uploads a new document to the ...
1
vote
1answer
235 views

SharePoint Online - Custom InfoPath forms and changing content types

I have created a SharePoint CRM tool that uses 3 content types - these are named General, Prospect and Account. The idea being that a new potential customer lead gets added to the database as a ...
1
vote
2answers
175 views

Programmatically pre-fill Document Information Panel

I have a document library, associated with a custom Content Type. I added a link on a page, creating a new document associated to this content type (via javascript CoreInvoke). When the document is ...
0
votes
1answer
359 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
2answers
92 views

Access current item from the page layout's aspx file

I am creating a page layout (without the associated html file) for my custom content type. One of the fields in my content type is a URL (Hyperlink or Picture) which should point to an image. How do ...
2
votes
2answers
78 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 ...
1
vote
0answers
127 views

Content Type Columns not showing for Image Library

I have created the following 2 Site Column Definitions and a Content Type that incorporates both of the site columns A List Definition of type Picture Library that utilizes the Content type. however ...
2
votes
2answers
123 views

EventDate field name gets changed/ignored

I have a custom content type derived from a publishing page. I want it to also have the fields from the event content type, so I added the fields exactly the same as specified in the ctypeswss.xml ...
1
vote
1answer
159 views

Design Manager crashes when loading snippets

I'm having issues with the SharePoint 2013 Design Manager, so far I've - created a new content type that inherits from the Page content type - created a new page layout in the design manager, using ...
0
votes
1answer
35 views

Content type form in infopath for Content type created in Visual studio

I have created content type in Visual Studio and I have to apply infopath form to that content type in infopath. How do i proceed further ?
2
votes
3answers
2k views

SharePoint 2010 - Create link to document library content type

Have a document library with multiple content types, each using a template. Example, user click on 'New Document' > 'Content A' and a Excel form will open. I'm trying to create links (buttons to be ...
0
votes
0answers
18 views

Content type in Infopath

Friends, I have created content type in visual studio and deployed and now i have to apply form design (infopath form) to that content type.so that whereever i apply content type to any list , then ...
2
votes
1answer
62 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 ...
0
votes
2answers
57 views

Field is not displayed in new form of list

I have created a field to add it in the content type and that content type is used in the list. My field's declarative part is: <!--Field Type of project--> <Field ...
1
vote
2answers
41 views

List display columns based on ContentType

So I have 2 Folder ContentTypes (Client Folder and Project Folder). Client folder can only contain Project Folders, and Documents are added to Project Folders. Each Document (in Project Folders) has ...
1
vote
1answer
30 views

Description of custom Page Layout is same as its parent

I have created a page layout and Content type in VS 2012. following is my code: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: Artikelsida ...
0
votes
1answer
18 views

Apply contenttype to list in site definition

I have a site definition in which I create 3 document libraries. I have also created 3 contenttypes which I'd like to apply to each of these libraries. Can this be done in my Site Definition or can ...
0
votes
0answers
24 views

Conditions in Page Layout

I m working on requirement where I need to create page layout for migrated pages from old system. I have to have only one page layout. The migrated pages must have same fields as they were in old ...
0
votes
0answers
356 views

Concatenating values from multiple selection list box?

I am building a content type with a document template. Using InfoPath, I am customizing the template's Document Information Panel to automate the population of several fields in the resulting Word ...
0
votes
1answer
549 views

Hide Ribbon button for specific content type

I want to remove ribbon entry for one the content type. OOTB if you add any content type it will create a button entry in "New Document" Ribbon. I don't want this entry for one specific content type. ...
1
vote
1answer
87 views

How to AddItem with certain ContentTypeID using PowerShell

I am using PowerShell to add 100 items which need to be of a specific ContentType. (requirement) Test my custom events receiver using powershell. The test is to create a list with a custom content ...
0
votes
1answer
57 views

For Images document library, set the default content type to Image

Is there any way to have the default content type set to Image when uploading the Images document library? It would be nice to remove the extra step of changing Document to Image
1
vote
1answer
307 views

A document library with custom content type displays the different icon while creating new document

I have created a document library declaratively with document based content type. But when I click on new document the icon is displayed of item instead of word. Below is the example: List ...
0
votes
2answers
45 views

Can I create a List within a folder?

I have a Library called Documents. Within "Documents" a folder called "Lists". I have enabled List View (forget actual phrase used) as a content type in the lists folder. A user created a list ...
1
vote
0answers
50 views

Determining wether SPContentType and SPField are created by user or not

I am doing a migration tool (web part) that copies a site collection from point a to point b. Everything works so far, but currently only custom lists are copied to point b. Now I need a way to ...
0
votes
0answers
117 views

Adding Existing Taxonomy Field to Content Type Definintion

I have a preexisting TaxonomyFieldMulti Site Column that I need to add to a content type definition. I had no issue adding the field itself but my understanding is that I also need to add the taxonomy ...
1
vote
3answers
39 views

Will “New Document” menu work with 75+ Content Types?

Got a document library into which we are preparing to add about 75 content types. Current business environment prevents me from subdividing the library into separate parts, and the many ...
0
votes
0answers
327 views

Sharepoint 2010 Workflow runs multiple times

I have a site was created based on a customised Site Template (created by using Save Site as Template); The template has a customised List, a workflow(via List Content Type, Global reusable associated ...
1
vote
1answer
501 views

Making column required is only possible after it is added and edited (happens in content type only)

While creating columns in content type the option of Require that this column contains information is disabled so I cannot make the column required. But once I save the column and edit it I am able to ...
0
votes
2answers
1k views

How to create my own page layout with my own content type?

I want to create a Page Layout with following fields: Title (textbox) Summary(textbox) Detail (textarea) Image (this will be shown on top of the page at certain location which user will upload) How ...
0
votes
1answer
165 views

Content type not deleted from list in sharepoint

How to delete content type from pages library. I am using below code to delete content type. But i am not able to delete and i get this message. Specified argument was out of the range of valid ...
0
votes
1answer
72 views

Create multiple inheritances of Site Content Type in a single List

I created a custom List (say My Custom List). In List Settings > Advanced Settings I have enabled the option of Allow management of content types?. Also I have created a custom Content Type (say ...
1
vote
2answers
168 views

Delete content type during feature dectivation

I want to delete content type programmatically on feature deactivation. I've wrote the code to perform deletion: SPSecurity.RunWithElevatedPrivileges(delegate() { using ...