The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
14 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
15 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
18 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
17 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
21 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
14 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
36 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
18 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
14 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
9 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
23 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
36 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
17 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
17 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
49 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
20 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
15 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
108 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
49 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?
1
vote
2answers
39 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
21 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
24 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
16 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 $...
0
votes
1answer
23 views

Content Type column shared between libraries, meta missing when document is transfered

Sorry if this is a little long winded. So I have two Document Libraries. A "Drop Off" (Not the one from the Content Organizer Site feature, just a lib called "Drop Off") and "Resting" library. The ...
0
votes
1answer
180 views

How to return lists of a paticular Content Type using PnP PowerShell

I'm using PnP Powershell for SP 2013. I'm trying to retrieve lists that support a particular custom Content Type ("Knowledge Document"). I'm having difficulty even getting the List Content Type to ...
1
vote
1answer
29 views

Content Editor in Document Set

I have a content type based on document set type, and inside the welcome page I added a content editor webpart, however, I do not want the content of the content editor to appear in all items based on ...
0
votes
3answers
50 views

Unable to fine content type by its name SharePoint online Powershell

I am trying to add site columns in my existing content type. Currently this content type is not associated with any lists/Library. I am able to find content type by it's id but I am looking for it's ...
1
vote
2answers
20 views

How to retroactively make old files content types?

Is there a way to make files that are copied into a document library or that already exist in a library a certain content type? For example, I have various content types based on the Document content ...
1
vote
1answer
36 views

Possible to query a document library's content types

We've noticed an issue in our SharePoint 2013 document libraries. When uploading documents to a document set in a document library, content types available to the root document library are available ...
1
vote
1answer
32 views

Disabling the ability to add, upload or drag and drop folders into a document library - Sharepoint Online

My company is implementing a sharepoint structure of a single hub site consisting of many sites, no subsites. We don't want the presence of folders being in our sharepoint online document libraries. ...
0
votes
1answer
21 views

Can't apply Content Type to content. Does't appear in drop down

I have a Content Type called Ice Inspection Videos in an Asset Library. When I upload a video, the content type does not appear so I can't apply it. Any thoughts?
0
votes
2answers
117 views

What will be the rest api query to get field values from site content type using rest api?

How will I fetch choice field values from site content type directly> This is what I have tried: http://<sitecollection>/<site>/_api/web/contenttypes
0
votes
1answer
31 views

What is a Rich Media Assset Content Type?

I want to create a Content Type based on Videos, but I noticed three Content Types in the Digital Asset Content Type Group. Video, Video Rendition, and Rich Media Asset. Does anyone know the ...
0
votes
0answers
11 views

Does a content type that inherits from video require image and video rendition content types

I have an asset library that will store drone photos and videos. I have created a custom content type with video as a parent as below: I add the content type to the libary and everything is working ...
1
vote
1answer
34 views

Change Content Type of Multiple files using JSOM

I have a Document Library with classic Experience with a lot of file who's content type I want to change automatically in bulk Due to the fact that I dont have access to PowerShell I was wondering is ...
1
vote
2answers
27 views

Folders with custom columns in Pages library

I'd like to create a custom navigation for my site's Pages library. To do this, I'm going to organize the pages in folders, and have a few extra columns on the folders, such as a CSS class, display ...
1
vote
1answer
38 views

Bulk Edit on Modern Experience

Using the bulk edit to bulk edit to change the content type of files and folders. I'm using this feature to change the content type of multiple folders, which worked perfectly fine . Unfortunately, ...
0
votes
1answer
39 views

How do I run this JSOM

I was looking for ways I can automatically change the content type of my files inside SharePoint online. I go a code from Here I'm not sure how the code is supposed to work. Added a Webpart, ...
0
votes
0answers
75 views

Cant Delete Field in SP Online List

The event content type was added to my list, I've removed it and disabled content type management on the list. I was able to remove all columns brought in with the event content type, except the "...
0
votes
1answer
38 views

Hiding content type from “New” menu, hides it in edit form?

I've added content types to a list, and I want only 1 to appear on the "new" menu button. To do this, I've set only the single type to be visible on the "new" menu, and thus it is the default type. ...
0
votes
1answer
38 views

Why is there no page layout for the Page content type

I have a pages library with two content types the out of the box Page and one a custom one with some custom metadata (from site columns) Team_Resources. Those I removed the other content types -- ...
0
votes
1answer
38 views

Javacript as Webpart to change Content Types

I am not allowed to change the Content Type of a file using the Quick Edit. I was wondering if there is any JavaScript code that I can add as a Web Part to the document Library. This code should ...
1
vote
0answers
33 views

Difference between List.ContentTypesEnabled & List.AllowContentTypes

I would like to enable content types on lists with REST. Microsoft says this about these properties: List.AllowContentTypes: Gets a value that specifies whether the list supports content types. ...
0
votes
1answer
29 views

SPO: Document Library for custom page layout is not working ( error on Page creation)

I am getting error while creating page using custom page layout, in a document library Below are the steps followed : Created a custom page layout Created a document library & added the content ...