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)

1
vote
1answer
24 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
16 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 ...
1
vote
2answers
316 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.
1
vote
1answer
72 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
0answers
18 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
149 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
263 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. ...
0
votes
1answer
32 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
0
votes
1answer
92 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 ...
1
vote
1answer
101 views

how to create MySite & ContentType Hub in HNSC

I know how to implement Content Type Hub & MySite as Path-Based site collections (PBSC), but in case of implementing Host-Named site collection (HNSC), I have doubt. Can anyone guide me how to ...
0
votes
2answers
40 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
1answer
976 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
0answers
43 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
46 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
38 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
106 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 ...
0
votes
1answer
103 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 ...
1
vote
1answer
274 views

Crawled Property with accountname of “Person or Group” Site Column in SharePoint 2010

I created a custom content type that includes a custom site column "Owner" of type "Person or Group". Now i need the accountname/login name (for exc. domain\usera) as a crawled property to include it ...
0
votes
2answers
66 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
0answers
28 views

2010 Content types question

I have been trying to learn content types in the development of a new SP form. I have created a new content type that inherents from the ITEM type. This content type has about 14 fields that I want to ...
0
votes
1answer
52 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
39 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 ...
0
votes
0answers
52 views

Page layout from Multilingual content type in sharepoint using Visual Studio

I have created site column for multilingual site.In site column i have set name and display name different. How can i set internal name for content type also? I am not able to set internal name for ...
0
votes
2answers
78 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 ...
0
votes
0answers
78 views

Document Library and Content Type issue. Getting set as Folder for few files

I have a Document Library with Content Type enabled. I have few custom columns. I have not used any Custom content type.By default content type is Document. Issue is when i add some files i do not ...
1
vote
1answer
17 views

Copy a form content to a new form that is being designed in sharepoint 2010 info path designer?

Is it possible to copy contents of a form to a new form that is being designed in infopath form designer in sharepoint 2010? The reason I am asking is I need to design a form whose content is 98% ...
1
vote
3answers
3k views

SP 2010, Is it possible to set permissions at Content Type Level

Say I have a document Library "TravelRequests" and five different content types associated with library. Is there a way to apply permission for a given content type "ManagerCT"? When managers are ...
0
votes
2answers
47 views

Limit only one document per content type - SharePoint 2010

I have a document library for a Meeting Workspace and I would like to enforce that only one document for a content type called Meeting Minutes can be uploaded. So, when someone tries to upload a ...
0
votes
1answer
51 views

Drop-off library takes default content type

I'm having an issue trying to upload multiple documents to a library using the Content Organizer. Problem is that when I upload several files to a library which has a Content Type 'A' all the files ...
1
vote
1answer
111 views

What is the order in which Custom field type,Fields,Content type,List definition are creating?

I am creating a custom field type, Content type and List definition. I have a custom field type inheriting from Multicolumn value and I am adding new fields of my custom type to my new ...
0
votes
0answers
266 views

Get the Parent Folder URL or Name in a SharePoint Foundation 2013 Reusable Workflow

Is there an easy way to get the parent folder URL in a SharePoint Foundation 2013 Reusable Workflow? The workflow is linked to a Content-type that is used in a Document library. The CT is a custom CT ...
1
vote
1answer
83 views

How to add multi-key querystring to custom content type's custom form url?

I have a custom content type, inheriting from the WorkflowTask content type. I've configured the content type to point to a custom form, but the URLs are not working properly. <ContentType ...
2
votes
0answers
105 views

Change content type order via Javascript/ECMAscript

In my SharePoint-hosted app, I use javascript to apply a content type called "Order" to a list in my app. When users click "new item" to upload a document, I want that document to derive from my new ...
0
votes
1answer
42 views

Perplexing Project Management question

Building a new project management(PM) subsite. the PM team has requested a site template since they pretty much keep building the same functionality over and over again with each new project. ...
3
votes
1answer
47 views

How to Copy Object With a Custom Content Type?

In SharePoint I have created a custom content type at the root site level. It's a "described folder", inheriting from the folder type and adding an extra column that can hold a textual description. I ...
1
vote
1answer
89 views

Field ShowInNewForm=“FALSE” Cannot Be Accessed In Code

I have a field for a custom document library, that must only be updated from code (event receiver) not from UI. So i set this field ShowInNewForm=“FALSE” and ShowInEditForm=“FALSE”. But this time, in ...
1
vote
3answers
6k views

How do I programatically change the content type of an existing file?

Is there some way to change the content type of a file using PowerShell? Ideally I'd like to write a function that one would point at a specific document library and it would pull down an array of ...
3
votes
2answers
352 views

How can I get a tree view for content types out of the metadata navigation hierarchy in a document library?

I have a hierarchy of content types that's currently two levels deep, and could go to three. These are for legal documents and may ultimately be used as templates in Word... which is why I opted to go ...
0
votes
2answers
198 views

Unable to hide the title field of content type

I have created a custom content type and applying to the list, I want the built in title column to be hidden from the all forms. I searched over the internet I found some solution but I am able to ...
0
votes
0answers
356 views

SharePoint 2013 quick edit mode and content types

I've currently run into a strange behavior with one of my SharePoint 2013 Lists. The list instance, it's definition, it's content type and the site columns used in those were created using ...
0
votes
1answer
43 views

Need help with a formula

I need some help. I have created a pretty extensive list at work for my colleagues to use to track financials on some of our projects, I am using a formula one of the project managers had established ...
1
vote
1answer
66 views

Creating a folder with a specific set of subfolders

just wondering if you can help I'm only just starting with SharePoint Development I have a request for some c# code that will allow users to do the following: Within a specific Site Collection e.g. ...
5
votes
4answers
6k views

SharePoint 2010 Get Content Type Programmatically

I've created several content type that inherit from the document content type in the site content type lists. Please refer to the image below How do I get these these content type pro-grammatically. ...
2
votes
1answer
187 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. ...
5
votes
1answer
736 views

Show More by Default

I am using Sharepoint 2013 and I have a custom contentype inherted from task. Because there there are to many fields, by default there is a Show More option to show all the fields. Is there a way ...
0
votes
1answer
67 views

Need help with list definition with content types

I have a custom content type based on document content type, and I added some columns to this content type. I referenced this content type from list definition like this: <ContentTypes> ...
0
votes
1answer
378 views

Online Sharepoint : Custom content type not included by default in List definition

Requirement : Webtemplate with custom document libraries along with custom content types to be used in sharepoint 2013 online created the web template and content type, both are working fine in ...
0
votes
0answers
82 views

Sharepoint 2013 App - Content Type using RelatedItems field

I want to create a Sharepoint 2013 App that uses the RelatedItems field that is available in Task lists out of the box. I am able to do this in a regular list by changing the group that the ...
1
vote
0answers
39 views

New Document button

I have a document library with both my own content type and the default one (Document). When I click the "New Document" button, only one item appears in the drop-down - Document. This happens despite ...
0
votes
2answers
109 views

Adding SPFieldLookup to specific content types in Custom List

I have a custom list that contains a number of custom content types. When a web is provisioned this custom list is provisioned. In addition to custom list is an Asset Library which is will serve ...