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
1answer
49 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
38 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
0answers
20 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
17 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
31 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
25 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
32 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
22 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
7 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
14 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
9 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
20 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
62 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
18 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
18 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
8 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
21 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
19 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
20 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
13 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
19 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
14 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
7 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
33 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
78 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
0answers
15 views

Set content type NewFormUrl to modern page

Is it possible to assign content type's NewFormUrl to Modern page? When I tried it, now when I open a new item from modern list, I am getting null pointer exception.
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
32 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
18 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
120 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
45 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
18 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
16 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
53 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 ...
0
votes
0answers
21 views

List Item property 'Content Type' not updating - SharePoint Online

I have added a content type (& its columns) using powershell to Content Type Hub. I want to change the content types of all items in a document library in a site collection to the new one. I first ...
0
votes
0answers
22 views

Document Library 'New' button

SharePoint 2013/2016 question. Ok I was able to change the content type for my library so that when you go to new document (ribbon --> files --> new document) the correct word template opens when ...
0
votes
1answer
16 views

Why does the Edit button have a different url then the Edit properties ribbon?

I have a JavaScript that relies on the contentTypeId when editing a folder or a document. The problem is when I click on the Edit properties ribbon: Everything is all well and good The url: ...
2
votes
1answer
112 views

“Show Toolbar” style working in the document library view (not a webpart) - SP2013

I am actually quite confused as to why it worked. Here are my steps: Make a web part of the library anywhere, change the toolbar to "show toolbar". Save. Edit the web part again, this time change the ...
0
votes
2answers
100 views

Publish Content Type PnP Powershell

I need a group of content types to be created in SharePoint 2013 and SharePoint online using PnP PowerShell commands. How do I publish these content types using PnP PowerShell?
0
votes
2answers
41 views

Hide items in a form

Recently, I see this function broken in SharePoint, I do not set it. Please help me. To begin, Go to List Settings. Click on Advanced Settings. Select Yes on Allow management of content types. ...
1
vote
2answers
22 views

Get custom Metadata based on Folder

Is there a way for the files that are uploaded into specific folders, the files inherit the properties/metadata of that folder? Basically every time I upload a file under eg SportFolder it should ...
1
vote
1answer
42 views

Enabling an attachments field when creating an event in SharePoint Online?

I have my site configured with a basic out of the box events app, where the user can click 'add event' and fill in the details of it. When filling in this info, I want the user to be able to attach ...
0
votes
1answer
17 views

if statement being disregarded in a PnPPowerShell loop

I am trying to iterate through a collection of document libraries and run code on the ones that are of a particular Content-Type. The if statement is being disregarded entirely and the write-host $...