Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SafeControl Element

SafeControl Element (Solution)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements

Adds or removes a control assembly from the safe controls list for a solution.


<SafeControl
  Assembly = "Text"
  Namespace = "Text"
  Safe = "TRUE" | "FALSE"
  SafeAgainstScript = "TRUE" | "FALSE"
  TypeName = "Text">
</SafeControl>

Attribute

Description

Assembly

Optional Text. The name of the control assembly.

Namespace

Optional Text. The namespace associated with the assembly.

Safe

Optional Boolean. TRUE to add the control to the safe controls list; FALSE to remove it.

SafeAgainstScript

Optional Boolean. TRUE to allow property editing by a Contributor; FALSE to disable property editing for Contributors.

TypeName

Optional Text. The control type.

For an example of how this element is used, see Solution schema.

Show:
© 2015 Microsoft