AnsweredAssumed Answered

applyEdits in 4.10

Question asked by michaellodes on Dec 19, 2018
Latest reply on Jan 7, 2019 by bsvensson-esristaff


short question about a problem I faced when migrating from api version 4.9 to 4.10. With the script below i update the attributes of a feature (in agol feature service) when running the script. In 4.9 it worked fine but it doesn't in 4.10, without any errors. I checked the release notes but couldn't find any breaking changes related to that topic. Thanks!


                  ], function (FeatureLayer, Graphic
              ) {

                var lyr = new FeatureLayer({
                          url: "",
                          objectIdField: "FID",
                          outFields: ["*"]

                var updateFeatArr = [];      
                updateFeatArr.push(new Graphic({
                  attributes: {LAMPENNUMM: "2", ARTVALUE: "LED", FID: 3}}));

                    return lyr.applyEdits({

                      updateFeatures: updateFeatArr

                .then(function(results) {