Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
2answers
13 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
10 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
6 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
21 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
1answer
24 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
23 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
37 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
18 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
0answers
26 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
34 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
32 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
17 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
25 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 ...
0
votes
2answers
23 views

Make Content Type required in the Upload Dialog Box

When I upload a file , the dialog box opens and default content type is already selected. Is there a way that the content type is blank and the user has to choose the appropriate content type before ...
0
votes
1answer
23 views

Content type and site column re-usability inside the Flat structure

I wrote this question about 6 months ago about the ability to reuse content types and site columns among site collections that are connected to a hub site in the Flat structure world Migrating our on-...
0
votes
0answers
15 views

Changing the new item button based on view

So, I have a list with multiple content types. And I have all these views that filters by content type so people can simply look at one content type at a time and see all the columns corresponding to ...
0
votes
1answer
17 views

Retrieve content type id from content type name using CSOM

I have site content type available in my SP 2013 site, I need Content Type ID by content type name using CSOM. I found the way by using rest api from here Get Site Content Type ID by Content Type ...
0
votes
1answer
37 views

No check in option before Add Document

Document Library- It doesnt have the option to check in when I upload a file. Usually close to the save button there is a check in option and noramlly if any of your column are required, you can't ...
0
votes
1answer
31 views

Content type fields marked as “hidden” aren't being hidden in the form?

I have a SharePoint Online list library which allows users to create a list item by using a simple form. In the backend of this site I've configured some hidden columns which are needed for some ...
0
votes
1answer
24 views

Adding Version number as well as Document ID Value to a Sharepoint Online Word document

I've read many articles on this now but it seems the the {version} tag it's no longer possible to add the {version} tag as an option in a content type information management policy in the label ...
0
votes
0answers
30 views

Content type Id not showing other options

I'm working on this flow that is supposed to change the content type of my folders. I am using an action Update File Properties and down there is row where u select the content type id. In my ...
0
votes
0answers
7 views

Pass calculated date in one list as date in another list?

I have a list with several calculated date columns related to two manually input date columns. Can I pass the calculated date results to standard date columns in another list in a document library in ...
0
votes
1answer
29 views

SharePoint Online page layout - news webpart

my client wants to create 3 different news page layout, so when a user wants to create a page he can choose between those 3 layouts I want to create a new page layout for the NEWS PAGES, This is ...
0
votes
1answer
26 views

How to chance the source of the content type on SharePoint online?

I have created this content type called Enhanced Folder. I then created a site called Home. My problem is that when I go to the document library then to library settings and Add from existing site ...
0
votes
0answers
7 views

Sharepoint Online Custom App Extension - Create word document based on content type

I'm trying to create a App Extension in Sharepoint Online that creates a new document based on content type. I know that I can create a file using Rest API, I'm just having a difficult time ...
0
votes
2answers
85 views

How to change content type of a lot of folders and subfolders at once?

I have a lot of folders and subfolders on my Sharepoint who's content type I want to change. Is there a way I can change the content type of several folders at once ? thank you
0
votes
1answer
15 views

Getting a Sharepoint List Fields that are common to all content types contained in the list

I'm trying to get the list fields shared by all the content types in said List. After getting the List by its Title, I used the Fields property to get all the fields in the List: List list = ...
0
votes
1answer
24 views

Prompt for Content Type

all. I'm setting up content types for a modern SharePoint Online doc library in anticipation of a migration. As there will be several content types to choose on upload, is there a way to set the ...
0
votes
1answer
28 views

Content Type Column not appearing in Document Library

I am adding a content type to a document library, but after deleting and readding one of its site columns, this column does not appear in the document library anymore. How can I fix this?
0
votes
1answer
15 views

Editing a content type using Content Type that doesn't exist in the Content Type Hub

We deployed some Site Collections using templates that weren't linked with the Content Types on our Content Type Hub, in fact, we have never really used the ct hub. All our Site collections have a ...
0
votes
0answers
27 views

Rolling out new description for existing Content Type

over the past few days I have been trying to update the content type description on a site collection. I have been doing this using SharePoint Designer. Unfortunately, when I push to Site the ...
0
votes
1answer
36 views

get all available content type in Site Pages

I want to get all available content type under Site Page : Get-PnPContentType -List $listName give me only : Wiki Page, Folder, Web Part Page, Site Page, Repost Page. but actually, this what I ...
1
vote
1answer
39 views

Change new button order and default content type using pnpPowerhsell

For the Library 'Site Pages' on communication Site, I need to change the order of the content type and set some of them to hide. SetDefaultContentTypeToList for default content type for List 'Site ...
0
votes
0answers
15 views

Linking to EditForm.aspx using a specific content type doesn't retrieve all data?

I have a list with three content types associated. These work fine for the addition of new data, but if I try to use them for the EditForm.aspx page, they don't pre-populate any fields except the ...
1
vote
1answer
15 views

Can a document have multiple Content Types?

My understanding is that a document can only have one Content Type yet I have several people telling me that it can. Perhaps the confusion is around inheritance. If I inherit from a parent Content ...
6
votes
1answer
85 views

Content Query Web Part - Change Content Type upon link opening?

[Edited from original post] I'm trying to open the links that come up from my Content Query Web Parts. However, I'm having a problem which I'll now explain: In my list, I have four content types - ...
1
vote
1answer
13 views

Removing an item from content type won't remove it's propertys

Whenever I remove a column in the Content Type, i still see the crawled propertys of that column when i try to do the mapping in the Manage Propertys. How can I definetely remove a column in the ...
1
vote
1answer
103 views

Get all fields of a site content type via REST?

Anybody know if there's a REST way to get all the field names for a site content type? I know I can do this: http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(...
0
votes
0answers
20 views

Add list item with content type .. spfx or rest sample .. sharepoint online

I have a list where content type is associated . I want to add a list item with attachment from spfx using sp-pnp . Please help . sp.web .getFolderByServerRelativeUrl("Student%20Details%20No%...
1
vote
0answers
39 views

How Can I add a Content Type to a Document Library using SPFx

I have a Content Type for a Document Library that resides in a Content Type Hub. It's available on the team site. Now when a Library is provisioned, I would like this content type to be added. Can ...
0
votes
2answers
20 views

Sharepoint Column Fields not available on upload

I have created a site content type based on an inherited parent type, Currently when I create a new document, all the relevant fields appear in the dialog. But if I upload a document these two ...
0
votes
0answers
34 views

Custom content type selector in jslink?

I'm trying to customize the content type selector from a jslink file. I tried the standard approach, but it does not trigger : (function () { var customContentType = function (ctx) { ...
2
votes
1answer
29 views

Script to find libraries that have a specific content type

I would like to know if there is a power shell script that will go through all libraries/lists on a single SP2013 farm and give me an output where a certain content type is still in use? I want to ...
0
votes
0answers
13 views

Why does SPD make a new content type for each approval task?

I am making a workflow that kicks off an approval task to a specified user depending on which folder the file is in. Let's say I have 5 different folders so there are 5 logical checks and each one has ...
1
vote
1answer
19 views

Can't Associate Local Columns to Content Type on Library Provisioned from Content Type Hub

We have SharePoint 2016 On-Prem and using the Content Type Hub. We created our own custom content type for document libraries. The content type in the Hub is set to allow changes (content Type is Not ...
0
votes
0answers
62 views

SharePoint Site Column not appearing in List

I have a Content Type with a number of Site Columns inside it. One of the columns is not appearing in some SharePoint Document Libraries that I am assigning the Content type to. I'm on premise - the ...
0
votes
1answer
92 views

SharePoint Online : Powershell get id from document set created

I have created a document set by powershell and I would like to get ID of the document set created to update name with this ID. where Name of the document will be in format Name_ID I m not able to ...
0
votes
0answers
24 views

How to inluclude picture to docx document?

I use this instructions how create word document from SharePoint list. I created this field (image) in content type But not have it in express blocs
0
votes
0answers
16 views

Empty base content type while creating a new content type in Visual Studio

I'm new in Sharepoint Development, I'm following example provided by Microsoft. I want to add a custom content type to a SharePoint-hosted SharePoint Add-in. I added a folder to my solution then when ...
0
votes
1answer
26 views

Access denied while changing ContentTypeId

I got an error when I have Contribute permission for site: Access denied. You do not have permission to perform this action or access this resource. my code is uploading the file and then trying ...