OK, I've managed to push the attribute value into the graphic. However it then doesn't render the graphic that has just been created by the feature template picker. Any ideas?
var ft0 = new esri.layers.FeatureLayer("http://172.16.25.71/ArcGIS/rest/services/necma_wod2/FeatureServer/0",{
mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
outFields: ['*']
});
dojo.connect(ft0, "onBeforeApplyEdits", addAttributeValues);
.
.
.
function addAttributeValues (adds, updates, deletes){
for (i in adds){
adds.setAttributes({"ARID":arid,});
adds.visible = true;
adds.show();
//alert(adds.getContent());
}
}
Regards,
Mark