AnsweredAssumed Answered

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

Question asked by RTreecare on Jan 13, 2015

After stumbling on this REST API Calculate Page (http://resources.arcgis.com/en/help/arcgis-rest-api/#/Calculate_Feature_Service_Layer/02r30000029n000000/), 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.

Outcomes