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
2
votes
1answer
363 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
30 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
67 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
23 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
49 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
37 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 ...
1
vote
1answer
26 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
102 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
271 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
1answer
34 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 ...
0
votes
1answer
53 views

How Can I Add a Content Type to Asset Library Programmatically

I need to add a content type whenever an Asset Library is provisioned. How can I do this ? We have SharePoint 2016 On-Prem Regards, Bismarck
2
votes
1answer
56 views

Change Content Type for all sub sites and lists/libraries

We are using 2016 On Prem For our site collection an admin user can do the following Create Sub Sites Create Document Libraries For any of these items we use custom content types to enforce ...
2
votes
0answers
13 views

Does List Metadata get copied into document properties

If you specify a document as being of a particular content type, and then move the document, the metadata associated with that document moves with it, regardless of what library the document is moved ...
0
votes
1answer
17 views

Content Type Policy Statement not appearing

I've created a content type and am trying to configure Policy Statement under Information Management Policy Settings. You are meant to enter the policy statement in a multi-line text box. The ...
0
votes
2answers
87 views

Reverse lookup on a Content Type ID

I've been asked to help with a site that another person created. SharePoint 2016, on-premise. Was developed in 2015 and moved to a newer 2016 server. While looking at the custom code, I see that the ...
0
votes
2answers
29 views

Can you remove a column from a Content Type after data has been added?

I'm curious if I add a rating column to my Content Type (Which inherits from Document C.T.) can I remove it later if I find it not to be useful? What will happen in the document library to those ...
1
vote
1answer
47 views

Converting Document Library Fields to a Content Type

so I have one heavily customized SharePoint Document Library with lots of extra fields. I'm wondering if anyone has figured out an easy way to lift those fields into a Content Type while preserving ...
0
votes
1answer
17 views

What are the implications of converting Documents in a library to a new Content Type?

If I have an existing set of documents in a document library, and I created a new Content Type with required fields, what are the implications when I apply that content type to the library? We are ...
0
votes
1answer
89 views

Change “Choice field” type in Word document Content Type

I have a Word document Content Type on a Document Library. I'm adding SharePoint columns as fields to the document: One of the columns called "Initial_ReportType" is a Choice column which is ...
2
votes
2answers
308 views

What is the difference between document properties and metadata?

I have been using the term metadata and properties interchangeably. This paragraph from Microsoft indicates there is a difference. Can someone explain the difference? Using metadata with content ...
0
votes
1answer
57 views

Parent Content Type Site Columns again getting added to Child Content Type in ContentTypeHub

I am facing weird issue in ContentTypeHub. Where I have ContentType 'Base'. and then I created new ContentType in Hub i.e 'Test'.its parent contentTypes is 'Base'. Now I have removed unnecessary ...
1
vote
2answers
164 views

Use custom content type as default content type for document library in SharePoint Online

Is there any way to use our custom content type as default content type for document library? I have a custom content type in a site collection. Whenever I/others create a new document library, the ...
0
votes
1answer
259 views

SharePoint Lookup Column Additional Field Value

Hello SharePoint Community! So, I have a list of a item content type that has a Yes/No field. I reference this content type in a lookup relationship on a Document Library. From that lookup ...
2
votes
1answer
64 views

Default value for document field

Suppose I have a content type named MyDocument containing a column MyValue. I added this content type to a simple document library. Now to add a default value to the column MyValue, there are two ...
1
vote
0answers
105 views

Create Item in Document Library thru REST API

Is there a way to create an item inside a list library? Or perhaps convert a folder/file into a custom Content Type? I have added an item using custom content type thru the "New" menu (named "g1q" on ...
2
votes
1answer
19 views

Reinstating deleted built-in site columns SharePoint Online

On removing two built-in site columns from a custom content type they appear to have been deleted from the site collection. I find it surprising that they are deleted as they are in use in many sub ...
1
vote
1answer
35 views

Content Organizer Rulers For Folder Based Content Types

I am thinking that I already know the answer to my questions, but am hoping that I am wrong. Can I setup a Content Organizer Rule on a Content Type based on a folder? So a folder content type, NOT a ...
4
votes
1answer
575 views

Sharepoint online powershell for changing list content type

i need help with readonly content type on list. I have sitecollection ex. "sites/SC". In that sitecollection i have 1000 subwebs ex. "sites/SC/web1". In each subweb i have one document library ex. "...
6
votes
2answers
158 views

Migrating our on-premises sub-sites to be modern site collections. how we will be managing the content types and site columns

I have an on-premises sharepoint team site collection, and it has 25 sub-sites. now i want to migrate this on-premises site collection and its sub-sites to be inside sharepoint online. and i want to ...
0
votes
1answer
79 views

How can I create a flow to change a content type after an item is created or modified, without giving people the ability to change the content types?

So I have a flow in place where an item's content type changes from "Item" to "Edit item". The plan here is when someone submits a new item in the list, the next time someone goes to edit that item ...
1
vote
1answer
63 views

Powershell doesn't output contenttype

I have the following script which should output the name of the content type for each list item however it is not, where am I going wrong? The output for both Id and Name is just a blank line, clearly ...
1
vote
0answers
17 views

SharePoint Archiving

I am trying to set up an archiving system by using retention policies, to avoid facing the 5K limit in document libraries. My question is: 1. will a drop off library every face the 5K limit, 2. and ...
3
votes
0answers
74 views

How to change icon for a specific Content Type

I have a collection of pdf documents that are considered Knowledge documents as they reside in a Knowledge Base and are curated. They are in a Document Library and have a specific content type... ...
1
vote
2answers
273 views

Powershell script to list all files in subsite with the content type assigned to them

I have a SP 2013 environment with documents uploaded to the sub site Document centre. I need to know which files was uploaded and which content type (also if no content type was selected) was uploaded....
1
vote
1answer
219 views

How to disable/ hide delete button for column in list in SharePoint Online?

I have a calculated field in my custom list. I want to disable or hide delete button on this field edit page. I want specific users not able delete this column in a list but still be able to edit/ ...
1
vote
0answers
25 views

Create new Office document in SPO modern document library

I have a custom content type added to my document libraries (nearly a thousand) and want users to be able to easily create Word, Excel and PowerPoint documents in it via "new item". However, after ...
0
votes
2answers
737 views

why “Site Page” content type is missing the options under its Settings section, insides our root site collection

I am facing this issue inside our sharepoint online root site collection:- when i tried to add some custom properties to our modern site pages, by going to Site Setting >> Site Content Types >> i ...
0
votes
1answer
352 views

Duplicate column name in Document Library Setting

I have figured out that our document library columns have duplicate columns. We are using the content type. When I'm going to compare this duplicate column name, it is showing like below with extra "0"...
0
votes
1answer
470 views

Multiple content types in a list different, shared column but different default value

Is it possible to use shared list columns with default values and set different default values per content type? I have two content types, one is the List default item content type. The Test Area ...
1
vote
2answers
724 views

How to create folder with custom Content Type in REST with SPFx?

I am creating an SPFx solution to create folders with nested folders. This solution is working fine. but I want to attach some metadata to my folder. For this reason I have created a new folder ...
2
votes
2answers
421 views

Choosing content type of list in modern view

I have created a new List and added two content types in the list. When I am creating a new item through "modern view", newly added item is getting created with only one content type even though I am ...
1
vote
1answer
454 views

Unable to change Content type from quick edit view [duplicate]

I have a SharePOint library for which there are about 5 content types added. Some users do drag and drop files in the library and because of that the Content type value for these files is set to the ...
1
vote
2answers
507 views

Update Lookup Site Column

Is there a way to update a lookup site column? A colleague of mine deleted the list which the site column was referring to. We created a new list, but the existing site lookup column is practically a ...
0
votes
2answers
756 views

Content types not displaying when editing list item

Before I expose my problem, bear in mind: I have full control of my SharePoint 2016 Online collection site. I have a list with content types enabled. My 2 content types have a long list of columns (#...
1
vote
0answers
55 views

Hide/Remove Item Content Type from a SP List in SPFx

I am using SPFx webpart on SP2016 and able to create a list with custom content type,below is code sample. But I am not able to get any end point to remove default Item content Type. I want my custom ...
0
votes
1answer
282 views

place version number in word document from the document library version number

I've see here how to display version number in word but its not working for me. The only thing i can think of that's causing the issue is that I have 2 version numbers in SharePoint document library, ...
1
vote
1answer
116 views

Termstore / managed metadata / content types

SP2013 with SQL server 2014 environment. I have never used the term store before and experimented a bit with Managed Metadata - so I need advice how / what to setup for my client please? Question 1: ...
0
votes
2answers
703 views

Inherit metadata from folder to all documents inside folder

I am having a document library with different folders. Each folder contains 100s of documents. I am creating a new column with name Status. When I change the status of the folder to "Locked" then ...
0
votes
1answer
247 views

SharePoint 2016 Help with SP.FileCreationInformation and clientContext.get_web(); using JSOM

I need to copy a document to a document set using JSOM. The below code create the file in my Document library succesfully. However I cannot figure out how to go a step further to change from document ...

1 2 3 4 5 31