Using feature services in a client application

There are a variety of ArcGIS clients available that you can use to edit (or view) the features in your feature service. Clients can consume feature services using either a web client or ArcGIS for Desktop.

Out-of-the-box ArcGIS web clients

The ArcGIS.com map viewer, Portal for ArcGIS map viewer, ArcGIS Viewer for Flex, and ArcGIS Viewer for Silverlight provide basic out-of-the-box functionality for editing feature services. Without programming, you can quickly create a web editing application that allows users to add, update, and delete geographic features from a database.

For example, when using the out-of-the-box applications, you can:

About the ArcGIS.com map viewer

The ArcGIS.com map viewer is hosted on ArcGIS.com and is deployable directly through the ArcGIS Server Services Directory. Once you create a map, you can share it with others on ArcGIS Online, your organization through ArcGIS Online for organizations, embed it in a website, or paste a link (URL) to the application into an email, blog, or website. Maps you create can also be deployed on your organization's web server by downloading the ArcGIS.com application templates. These templates are fully customizable.

The following tutorials use a feature service in conjunction with the ArcGIS.com map viewer to edit features. To learn more, see:

For more information about using the ArcGIS.com map viewer with feature services, see the following topics in ArcGIS.com help:

About the Portal for ArcGIS map viewer

Portal for ArcGIS includes a map viewer application for designing and saving web maps. You can add your feature services along with other data from your organization and content from ArcGIS Online. Then you can save the map to the Portal for ArcGIS website and share the map with others in your organization.

To learn more, see What is Portal for ArcGIS?.

About the ArcGIS Viewer for Flex and ArcGIS Viewer for Silverlight

To use the ArcGIS Viewer for Flex and ArcGIS Viewer for Silverlight with your feature service, you'll need to download the application, deploy it on your organization's web server, and configure it for use. Once deployed, these applications can be customized to provide a focused editing environment for your users. To learn more, see:

ArcGIS Web API clients

The ArcGIS Web APIs for JavaScript, Flex, and Silverlight offer the most advanced web editing capabilities and customization options. If you're comfortable programming using any one of these APIs, you can create a sophisticated experience for your users on the web by tailoring your editing scenario to a specific purpose, goal, or organizational strategy. For example, with the ArcGIS Web APIs, you can:

To learn more about each of the ArcGIS Web APIs, see:

Obtaining the REST endpoint of a feature service

You can obtain the REST endpoint, or URL, of a feature service by browsing to the service in the ArcGIS Server Services Directory. For example, the default URL to a feature service in the Services Directory is http://gisserver.domain.com:6080/arcgis/rest/services/folder/service/FeatureServer. A zero-based integer can be appended to the URL to reference a particular layer in the service. For example, ending a URL with /0 gives you the first layer in the service.

ArcGIS for Desktop

ArcGIS for Desktop allows you to edit the data in feature services. The workflow for editing in ArcGIS for Desktop is fundamentally different than editing a feature service through a web application. To learn more, see About editing data from feature services.

Using sync with feature services

Feature services include operations that support disconnected editing workflows. In a disconnected environment, the client (for example, a runtime or mobile device) can make edits locally then synchronize the changes with the server when the client is reconnected to the feature service. This functionality, called sync, is available through the ArcGIS REST API.

For more information about using sync with feature services, see the sync section of the ArcGIS Server REST API Help.

Entering HTML into text fields

When editing a feature service in a client application, you can enter HTML into text fields. For example, when editing a feature in a web client, you can enter styled HTML into a comments field. By default, only the HTML entities and attributes listed in the table below can be entered into feature service text fields. If you attempt to add an unsupported entity or attribute, an error is returned.

If your feature service workflow requires unsupported HTML entities and attributes, you'll need to disable the Filter web content property. This property can be accessed through the feature service Advanced Options dialog box in ArcGIS for Desktop or ArcGIS Server Manager. For more information, see:

HTML entity

HTML attribute

<a?>

href, target, style

<b>

<br>

<div>

style, align

<em>

<font>

size, color, style, face

http, https protocol

src, href

<i>

<img?>

src, width, height, alt, border, style

<li>

mailto: protocol

src, href

<ol>

<span>

style

<strong>

<table>

width, height, cellpadding, cellspacing, border, style

<tbody>

<td>

height, width, valign, align, colspan, rowspan, nowrap, style

<tr>

height, valign, align, style

<u>

<ul>

9/1/2015