Select to view content in your preferred language

How to add a default value to object while using editor

733
2
12-25-2011 10:38 PM
hanwang1
Emerging Contributor
Dear esri flex team

I meet a problem when I use editor to add a new object through feature service.

when I add a new object on map through editor,after editing successfully,it will pop up an attribute window for editing its attibutes,there is one field storing date data,I want this field could be filled up automatically by current date,how can I do this?

thanks in advance

Han
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Han,

   Look at this post and the whole thread will be helpful. Understand that this is not simple or for beginners.

http://forums.arcgis.com/threads/19995-Easiest-way-to-customize-AttributeInspector-associated-with-a...
0 Kudos
nanzhang
New Contributor
Maybe you can set a default value for every field when you edit the feature layer template in ArcMap. Then,republish your feature service.
0 Kudos