Hi,
I am saving graphics in feature service and I would like to add/update Attribute values to feature was just added
Below is the code I am able to Save graphics to Feature layer Service.
function createfreehandline (graphic)
{
var freeHLayer = this.map.getLayer('freeHLayer'); // Layer added in map Feature Service layer
freeHLayer.applyEdits([graphic], null, null).then(function (adds, updates, deletes) {
console.log('success', adds);
}, function (err) {
console.log(err);
});
}
For Example, with above code new feature with ObjectId added, now I want to update attribute value in Field name "JOBNO"
How can I update the attribute value of feature that was just added ?