Feat All,
My featureservice is passwor dprotected.how can i apply the applyedits function of feature layer on this layer.
Please help
Thanks.
Hi Nadir Hussain,
You will have to get access to your feature layer using OAuthentication first:
Access ArcGIS Online items using OAuthentication | ArcGIS API for JavaScript 4.12
HTH,
Egge-Jan
I am using 3.29 arcgis api and I don't have any portal
I am making my custom app by the help of arcgis java script api 3.29
Maybe you should have a look here: OAuth Basic | ArcGIS API for JavaScript 3.29
I'd recommend reviewing our guide page about working with secure resources:
https://developers.arcgis.com/javascript/3/jshelp/ags_secureservices.html
And if that doesn't help, consider using the resource proxy:
https://developers.arcgis.com/javascript/3/jshelp/ags_proxy.html