What isn't working?
When I create or load a document library with the ContentTypesEnabled property set to false the field value always shows as true. The JSON that Sharepoint itself returns has the correct value.
Why do I care?
I want this value set to false so I can get the "+ add document" button to display a list of document types to add.
What did I try?
I dug around for a while but couldn't come up with a fix, though it appears to be something to do with the Sharepoint::ObjectProperties#add_property method.
Edited
I'm using SharePoint 2013 + NTLM authentication
What isn't working?
When I create or load a document library with the
ContentTypesEnabledproperty set tofalsethe field value always shows astrue. The JSON that Sharepoint itself returns has the correct value.Why do I care?
I want this value set to
falseso I can get the "+ add document" button to display a list of document types to add.What did I try?
I dug around for a while but couldn't come up with a fix, though it appears to be something to do with the
Sharepoint::ObjectProperties#add_propertymethod.Edited
I'm using SharePoint 2013 + NTLM authentication