AnsweredAssumed Answered

ApplyEdits geometry from javascript API

Question asked by LarsHalvor.Anundskaasgeodata-no-esridist Employee on Aug 4, 2015
Latest reply on Aug 5, 2015 by kenbuja

Hi,

 

I drew a graphic on a graphic layer (sample)

Capture.PNG

When running this through applyEdits on a featureLayer i get a success in return, but the geometry in the database becomes null or invalid.

If I draw a simple square or a circle, I don't see the same problem.

 

I also tried to take the same geometry into arcmap using json to features, the geometry appears correctly.

 

I have attached a sample JSON which does not work through applyEdits (even though it returns success and attributes are saved)

However, the shape looks perfectly well when importing using json to features.

 

Any hints on what could I could do wrong?

Attachments

Outcomes