I need to tune below option "Allows contributors to add or edit scriptable Web Parts" for particular web-application .

Can any one help me in getting this through powershell script enter image description here


For a bit of context, the page you are in can be found in

Central Administration > Security > Manage web part security

There are 3 properties there, all can be accessed through server object model.

$wa = get-spwebapplication http://contoso

You can tweak as a regular bool

$wa.AllowContributorsToEditScriptableParts = $true

If you are looking for solutions in the context of Office 365, I can't help you, but perhaps this can point you in the right direction.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.