Forum Discussion
Darren Parkinson
Sep 26, 2017Brass Contributor
Can't turn off "Visible on New Button" for Content Type using PnP PowerShell
Hi, I'm having trouble turning off the "Visible on New Button" option for a Content Type on a Document Library. I'm trying to use the "UniqueContentTypeOrder" to do that. So far, it's not ...
Suleyman Ayazalp
Sep 26, 2017Copper Contributor
Shouldn't you have
$ctx.ExecuteQuery()
at the end?
Haven't done this in powershell but the used method is the right one.