I have a use case where I would like the users to add points and lines to a map, but the attributes should be added via code. I am using an editor widget based on this sample. ArcGIS API for JavaScript Sandbox
Let's say I wanted to add a value 1234 to the "issue_id" attribute when the user created a new feature for the operationsPointLayer in the sample code above? Where in the code would I apply the attribute values?
Thanks in advance!