Skip to main content

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
1 vote
1 answer
2k 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 ...
Toby's user avatar
  • 87
0 votes
1 answer
402 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 $...
Martin Muldoon's user avatar
0 votes
1 answer
68 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 ...
Daniel W's user avatar
1 vote
2 answers
5k 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 ...
Martin Muldoon's user avatar
1 vote
1 answer
98 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 ...
Saz Mifsud's user avatar
0 votes
3 answers
930 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 ...
Sachin Shinde's user avatar
1 vote
2 answers
40 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 ...
Ushka's user avatar
  • 277
1 vote
1 answer
70 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 ...
Steven C's user avatar
1 vote
1 answer
2k 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. ...
Michael's user avatar
  • 11
0 votes
1 answer
23 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?
Martin Muldoon's user avatar
0 votes
2 answers
1k 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
Monica Shatani's user avatar
0 votes
1 answer
706 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 ...
Martin Muldoon's user avatar
1 vote
1 answer
244 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 ...
Ed1995's user avatar
  • 459
1 vote
2 answers
53 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 ...
stevec987's user avatar
1 vote
1 answer
170 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, ...
Ed1995's user avatar
  • 459
0 votes
1 answer
84 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, ...
Ed1995's user avatar
  • 459
0 votes
1 answer
317 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. ...
mgallagher's user avatar
1 vote
1 answer
531 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 -- ...
Rothrock's user avatar
  • 3,010
0 votes
1 answer
58 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 ...
Ed1995's user avatar
  • 459
0 votes
1 answer
452 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. ...
Daniela Roccuzzo's user avatar
0 votes
1 answer
74 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 ...
Sandeep Nandey's user avatar
0 votes
2 answers
608 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 ...
Ed1995's user avatar
  • 459
1 vote
1 answer
1k 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-...
John John's user avatar
0 votes
0 answers
21 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 ...
Isa's user avatar
  • 410
0 votes
1 answer
713 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 ...
Surendra Mourya's user avatar
0 votes
1 answer
340 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 ...
Ed1995's user avatar
  • 459
0 votes
1 answer
186 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 ...
Toby's user avatar
  • 87
0 votes
1 answer
889 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 ...
Martin G's user avatar
0 votes
1 answer
305 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 ...
sahar engazzou's user avatar
0 votes
1 answer
48 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 ...
Ed1995's user avatar
  • 1
1 vote
2 answers
2k 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
Ed1995's user avatar
  • 11
0 votes
1 answer
32 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 = ...
Bellatrix's user avatar
0 votes
1 answer
260 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 ...
ITIntern's user avatar
0 votes
1 answer
63 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?
Saz Mifsud's user avatar
0 votes
1 answer
24 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 ...
Quasam Amanat's user avatar
0 votes
1 answer
480 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 ...
Imen Turki's user avatar
  • 2,183
1 vote
1 answer
1k 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 ...
Imen Turki's user avatar
  • 2,183
1 vote
1 answer
1k 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 ...
Martin Muldoon's user avatar
6 votes
1 answer
189 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 - ...
DanJ's user avatar
  • 164
1 vote
1 answer
29 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 ...
João's user avatar
  • 45
2 votes
1 answer
2k 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(...
Tracy's user avatar
  • 667
1 vote
0 answers
73 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 ...
Bismarck's user avatar
  • 1,021
0 votes
2 answers
26 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 ...
Lloyd's user avatar
  • 1
0 votes
0 answers
90 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) { ...
Steve B's user avatar
  • 7,508
2 votes
1 answer
560 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 ...
Hes JvR's user avatar
  • 89
1 vote
1 answer
35 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 ...
Bismarck's user avatar
  • 1,021
0 votes
0 answers
397 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 ...
Saz Mifsud's user avatar
0 votes
1 answer
576 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 ...
scoignet's user avatar
0 votes
0 answers
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
Евгений Кирьянов's user avatar
0 votes
1 answer
59 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 ...
msm2020's user avatar

1 2 3
4
5
32