Show / Hide Table of Contents

Property FilterWebContent

FilterWebContent

Gets or sets a value indicating whether to filter web content. Turns on filtering of HTML content for feature service text fields. By default this is enabled. When this is enabled only a small subset of HTML is accepted and an error will occur if unsupported HTML is used. Filter web content should be set to disabled if you want to use unfiltered HTML.

Declaration
public bool FilterWebContent { get; set; }
Property Value
Type Description
System.Boolean

A value indicating whether to filter web content. Turns on filtering of HTML content for feature service text fields. By default this is enabled. When this is enabled only a small subset of HTML is accepted and an error will occur if unsupported HTML is used. Filter web content should be set to disabled if you want to use unfiltered HTML.

Exceptions
Type Condition
System.InvalidOperationException

FilterWebContent cannot be set if the server is not in the stopped or failed state.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.