Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between contenttypeorder and uniquecontenttypeorder

what is the difference between SPfolder.ContenttypeOrder and SPFolder.UniqueContentTypeOrder?

Why sometimes UniqueContentTypeOrder is null?

How do i get the contenttypes attached to a folder which are visible to this folder and in order? I thought by using UniqueContentTypeOrder, but sometimes it is set to null?

Thanks

like image 801
Zee99 Avatar asked Nov 05 '22 07:11

Zee99


1 Answers

UniqueContentTypeOrder is used to define a custom ordering for the folder. UniqueContentTypeOrder can be set to null to fall back to ContentTypeOrder (the default). This implies that when UniqueContentTypeOrder is null, you should fall back to ContentTypeOrder.

See http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.uniquecontenttypeorder(office.12).aspx and http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.contenttypeorder(v=office.12).aspx for more information.

like image 144
Pieter van Ginkel Avatar answered Nov 09 '22 07:11

Pieter van Ginkel