I know how to set default values in an ArcGIS service at design time.
However, I need to intervene in the creation of a geometric item at run time to dynamically decide what the default values should be.
For example:
User picks a template for a point-based service and clicks on the map to create the point.
The widget decides where that point is and determines the latitude/longitude of the point.
The widget decides what the default attribute values should be for the new point based upon the service definition.
***At this point, I want to intercept the creation of the point and alter some of the default values ***