I know how to change the value of an attribute with the Javascipt API. I use Applyedits(). Now I need to create a new attribute, that has no representation in the Featurelayer in AGOL, through ApplyEdits. When I try this ApplyEdits, the function approves the action, but the newly created attributes are not added to the Featurelayer. How should this be done?
This is the AGOL documentation link for adding a field. There is no ability for doing this using the JS API at runtime.
https://doc.arcgis.com/en/arcgis-online/manage-data/add-or-delete-fields.htm
Thanks Robert, that's too bad. I hope this will be implemented in the future. Appreciated!