Forum Discussion
Vertebre85
Jan 26, 2021Iron Contributor
Document Information Panel in office 365 apps + open by default
Dear all I didn't find a related topic here so I want to ask the following question We want to use the "Document Information panel" with Office 365 apps and Sharepoint online so that user complete ...
Vertebre85
Feb 15, 2021Iron Contributor
I reply partially to myself so it can help other if required.
WIth PNP powershell, we can retrieve the XML schema for the content type
$data = Get-PnPContentType -Identity 0x01010028739CF52E3CB54CB6EA0883DB4E825D
$data2= $data.SchemaXmli should change the value "openByDefault" from True to false at the end of the schema
is there a proper way to do it? Pretty new with powershell and not sure how to update it correctly.
Probalby something with ".Context.ExecuteQuery()" and so on, but with the Schema containing " and ', i'm strugling to update it