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?