Update Library Column Content Type

Frequent Contributor

Hello Everyone,

 

I have a document library in SP Online site and it has two content types associated. There is a list level field/column that is associated with one of the content type.

 

Content Type 1 - Document

Content Type 2 - Custom Document

List level column - Department

 

There are lot of records in this library that got migrated from other system. Now, we have observed that the list level column is associated with wrong content type (Content Type 1) that is associated with the library.  

 

Is there any option to change the association of List level column to Content Type 2 from Content Type 1 using PS Script or C#.

 

Thanks in advance.

 

Thanks & Regards,

Bhanu

0 Replies