Questions tagged [content-type]

A content type is a reusable collection of columns and settings that can be applied to a certain category of SharePoint content

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Sharepoint online cannot change content type from folder

Up until a couple of months ago, we were able to change content-type of folder to a customised folder. We are no longer able to do this, content-type is not even showing in the details pane any more, ...
0
votes
2answers
22 views

Migrate a subsite with content types

I have a large subsite within a Sharepoint 2016 site hierarchy that I would like to export to a different site collection. The problem is that each document set library in the subsite uses a single ...
0
votes
1answer
29 views

Searching by Content Type or Content Type Id not returning results

I'm setting up several aggregators on a SharePoint Online site collection page that surface documents of the same content types from different document libraries onto a single page. So far the ...
1
vote
1answer
20 views

SharePoint 2013 C# Event reciever choose specific template from document library

I have a document library with multiple content types of word templates. In my event receiver I need to choose the right template based on a field of the modified/created list item. Any ideas how to ...
1
vote
0answers
11 views

Infopath and field for content type

I have created different content types in SharePoint. Then I started editing the different forms for content types in InfoPath. The only field that is not visible is 'Content type'. Why can't I see ...
1
vote
1answer
24 views

How to create a SharePoint content type with 'Document' as the parent

I am trying to use SharePoint REST to create a content type. I intended the content type to use the 'Document' as its parent (0x0101). But every time I tried the code, it creates a content type with '...
1
vote
1answer
59 views

How to add list column to list content type via SharePoint online PowerShell?

I'm trying to add some custom property to list content type at SharePoint Online site by following script: $context=New-Object Microsoft.SharePoint.Client.ClientContext($URL) $context.Credentials = ...
1
vote
0answers
13 views

Content and Structure Tool Error: SmtMoveTitle List does not exist

I am trying to relocate a subsite on SharePoint 2013 using the Content and Structure tool. When I try to move the aforementioned subsite, I receive this error: "SmtMoveTitle List does not exist. ...
2
votes
1answer
31 views

How to get “Allowed Content Types” of a DocumentSet by CSOM on SPO?

I have a SPO site with some DocumentSets having different ContentType. I need to get "Allowed Content Types" of any DocumentSet to take a decision: I get my DocumentSet as ListItem or as Folder or as ...
0
votes
1answer
17 views

Get Required Fields in each content type associated with given List

I have a list - Documents (Actually document library). I have given it two types of content types :- Document(default) & MyDocumentContentType (this is my custom content type) Now Content Type ...
0
votes
1answer
55 views

Unable to update the page layout for our enterprise wiki pages using sharepoint workflow 2013

I have a SharePoint online enterprise wiki site collection. and i have provided a newer pagelayout and new content type. but i do not want to update all the wiki pages at-once. so i tried to create a ...
0
votes
1answer
26 views

Number of results decreased after applying a query rule to promote a specific content type in SharePoint

As mentioned in the below link on how to promote a content type in SharePoint results: How to change the order in which search results are displayed in SharePoint Server 2013, I did the same but the ...
0
votes
3answers
41 views

CAML error when querying SharePoint List for more than one input

I have a CAML query which retrieves data from a SharePoint list. It passes for 1 input, but fails when there are 2 or more. Error: Microsoft.SharePoint.SPException: One or more field types are not ...
0
votes
1answer
48 views

Managing Content Type using REST API

How can i manage Content Type in SharePoint List using REST API, it's look like a very wide question, isn't it ? well what i'm looking for exactly is: How to change content type visibility option to ...
0
votes
1answer
19 views

Cannot add new content types to a manually added pagelibrary

I have a page library by default on my subpage, but now I want to add more. So I go to the different apps via the menu item "Add App" and add a page library. By default it has such an old ugly ...
0
votes
0answers
34 views

Error 415 (uns. media type) when creating new item list on SP Online using REST API and POSTMAN

As you can see I'm successfully authenticated to my tenant as I can retreive the List info. But I just can't create an item. I always get an 415 error "Usupported media type" whatever the headers I ...
0
votes
0answers
28 views

Content type with template

I have set up a content type syndication hub and created a new content type (Document Set) with the default content based on .xlsx file. There is no any template created on https://..tenant....
0
votes
2answers
35 views

Get list of all content type associated with a list

I am using client code using JQuery and rest API where I have a requirement to bind a drop down control with the content type names associated with a particular list. I am working on SharePoint ...
0
votes
2answers
31 views

Creating a content type with a specific ID in SharePoint Online using PowerShell

I had a content type in my default SharePoint Content Type Hub site (https://tenant.sharepoint.com/sites/contenttypehub) which I deleted before it was completely unpublished. As noted in this post, ...
0
votes
0answers
8 views

Issues with content types Vs templates Vs NEW button entry names

We are using SharePoint Online via Office 365. I am pretty sure I am not the only one facing the sort of issues mentioned below, so I wonder what sort of workarounds you guys came with. We have ...
0
votes
1answer
17 views

Cant add custom content type to my new tenant

I created a new tenant for DEV purposes. I create a custom document Content Type. But when I try to add a new template to it, I don't have access, even if I use the same account I created the tenant ...
0
votes
0answers
29 views

Updating the timestamp of the subscriber site

We are using Content Type Hub and all of the sites are showing below error on Content-Type Publishing Error Log. I have blurred the name of Syndication Item but its the same for all error. I would ...
0
votes
0answers
10 views

Is there a way to Enable 'Enterprise Metadata' in Document Libraries by default

I have a SharePoint environment that includes a lot of different sites and document libraries within them. I'm trying to find a way to enable 'Enterprise Metadata' by default so that when a new site/...
0
votes
1answer
27 views

Subscribe to content type hub immediately

On my Sharepoint Online I have some content types in a content type hub. I create a modern team site (a site collection in fact) and I want those content types from the content type hub to be ...
0
votes
1answer
265 views

How to copy Content Type from one site collection to another (Both site collection having different template) SharePoint Online

We are looking for copy a content type from one site collection to another. Both site collection having different site template. How to copy content Type from one site collection to another in ...
0
votes
2answers
25 views

Document Library Content Type Restriction

I have a Document Library with 3 different content types that require different properties for each. When uploading a document users select which document type they are uploading and then fill out the ...
0
votes
0answers
19 views

How to create Content Types with Retention Schedules > SharePoint 2013 on-prem

Is it possible to created 200+ content types with retention schedule with CSOM script in SharePoint 2013 on-prem? if yes, are there any good sample code for it.
0
votes
0answers
11 views

Adding 'News' via the News web parts creates Site Pages and not Repost Pages

On some classic sites (not all) when I add news via the News webpart they are added as site pages and not Repost news (as it should be). The feature in Site featured called 'Site pages' is activated ...
0
votes
1answer
30 views

How do I get newly created documents to end up in correct folders?

I've got quite a complex document library, with some folders that have strict access for certain users. I've created a content type and will add templates to the content type. If i clicke my way ...
0
votes
0answers
22 views

Unable to specify content type using ADODB.Recordset

I have a list that uses multiple content types and I am uploading bulk changes to the list from an excel document via VBA and the ADODB.recordset. I can edit existing records without any issues. ...
0
votes
1answer
22 views

How to add a content type field to newform.aspx

I have a content type in a custom list form. When I click on new item I don't see the content type field on the newform.aspx form. I can see it on the edit for though. Is there a way to have a content ...
0
votes
1answer
26 views

Create a new folder with custom content type id using custom action

I am adding a custom ribbon button which needs to create a folder with specific content type id in a document library. CommandAction="javascript:{ var options = { ...
0
votes
0answers
15 views

Why does content types on sites/libraries contains old document templates?

We are using SharePoint 2013 and have setup a Content Type Hub where we publish content types with attached document templates. When republishing content types with document templates on them, we ...
0
votes
0answers
22 views

Move Content Type from one Site Collection to another Site Collection

I have a custom content type "Employee" that inherits from the "Document Set" content type. It has metadata attached to it as well and it resides in a document library. I would like to create a ...
0
votes
0answers
15 views

Using Enterprise keywords in a Microsoft Word Content Type template

Is it possible to add the Enterprise keywords field to your Word template so a user can fill in keywords during initial creation of his Word document? I've created a document library and added extra ...
0
votes
0answers
8 views

Move the Created By Date and User to another area, JavaScript Only

Trying to Modify one of my DispForm.aspx page. I was able to do the usual data-dsiplayName attribute in the span tag. However, the Created and Created By data is not showing up. Is this because the ...
0
votes
1answer
21 views

Adding fields directly to a library - recommended practices

I remember when I started doing development it was considered bad practice adding fields to the the default Document content type. In the modern experience it is now very easy to add new fields by ...
0
votes
1answer
45 views

Identify unused Content Types SharePoint 2013

We are using SharePoint 2013 and there is multiple content types are created. Some of them are currently in use with multiple list and document libraries but now I want to identify un-used content ...
0
votes
1answer
215 views

Update custom folder metadata via Flow

My apologies, I am a bit of a novice with SharePoint and I can't use code. I am using SharePoint online. Our organisation has a Sales Manager and Support Manager for each customer. Each customer has ...
0
votes
1answer
37 views

Adding choice to field associated to Content Type

I have the following script : $site = new-object Microsoft.SharePoint.SPSite("http://TEST123") $web = $site.OpenWeb() $ct=$web.ContentTypes["MyCT"] $field = $ct.Fields.GetFieldByInternalName("...
0
votes
1answer
55 views

Add Content Type field to New Form

I have a list on a SharePoint 2016 using 3 content types. When an item is edited the end-user has the Content Type field to toggle between content types. I am looking to see if there is a way to ...
0
votes
1answer
19 views

Extracting the template file from the content type

I need to extract the template file from a number of Content types. Getting the content type and the DocumentTemplateUrl is easy enough but how do I the file to the desk?
0
votes
0answers
12 views

SharePoint 2013 External List with multiple columns create lookup columns to each external list column?

Why does the identifier only allow me to use ‘Posting account ID’? What if I want to make separate lookup columns that would only ‘lookup’ to each row in the External List (i.e. a lookup column to ...
0
votes
3answers
375 views

Control columns inside highlighted content

I have created a new page where I have added a new highlighted content web part. Inside it I have linked it to a document library. Is there a way to control the columns inside highlighted content web ...
2
votes
0answers
67 views

Mandatory Column Popup in Modern SharePoint

In an Office 365 Modern Experience SharePoint site, I'm unable to find a way to force a prompt for mandatory values attached to the List Content Type. Instead of providing a prompt for the values as ...
0
votes
1answer
22 views

Changing the content type parent by exporting xml

My problem is that i need to change the parent content type of a few of my content types, I know this isn't possible and the fix is to recreate these content types manually/powershell which I am more ...
0
votes
1answer
19 views

Deleting a SharePoint subsite doesn't deletes its site columns and content types

I have a subsites inside a site collection. There I have defined some custom content types. Once I deleted the subsite, and created a new subsite with the same name and url, I can see all the old ...
1
vote
0answers
21 views

error when added choice field to content type

I have a custom content type, based on Event, for a Calendar list. When I add a Choice field to the content type, I get the following error whenever I try to Save a new item, or try to access the ...
0
votes
1answer
28 views

How to programatically get the status value of a Content Type column using C#?

I am attempting to read the property of the Item content type which shows the Required, Hidden or Optional property for a particular column. if (spList.TryFindContentType("Item", out SPContentType ...
1
vote
0answers
59 views

Default value in mandatory column is not showing up

I made a content type inside a library. Made a Template of the library since it needs to produce hundreds of other libraries. There is one field in the content type that is mandatory and library by ...

1
2 3 4 5
31