0 out of 3 rated this helpful - Rate this topic

SafeControl Element (Solution)

Windows SharePoint Services 3

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


<SafeControl
  Assembly = "Text"
  Namespace = "Text"
  Safe = "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.

TypeName

Optional Text. The control type.

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Unsafe Error Message
Maurice has a great tip here to show how to have a custom error message when you mark controls as unsafe by setting Safe attribute to FALSE
http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?ID=265