Looking for Calculate Field Sample/Widget: Field C = Field A * Field B For Selected Features

3996
0
01-13-2015 09:00 AM
DavinShokes1
Occasional Contributor II

After stumbling on this REST API Calculate Page (http://resources.arcgis.com/en/help/arcgis-rest-api/#/Calculate_Feature_Service_Layer/02r30000029n00...‌), I'm curious if there is a sample implementing this call in javascript.

For example:

  1. User selects features
  2. User Clicks Calculate button
  3. Field C values are calculated as Field A * Field B for the selected Features.

This would be a great work around for the lack of dynamic default values for fields.

0 Kudos
0 Replies