Hi All,
See below for part of html using 3.2 javascript libraries, sample code from https://developers.arcgis.com/javascript/3/jssamples/search_suggestiontemplate.html
My featurelayer is from my ArcGIS online
var search = new Search({ sources: [{ featureLayer: new FeatureLayer("https://services1.arcgis.com/BZNs0xaSHDSi4V6G/arcgis/rest/services/postcodes/FeatureServer/0",
When I run the code, it ask to enter arcgisonline username and password. when I do this, it says incorrect username and password.
This is the same username and password, I would have used to login in directly in my ArcGIS account.
Solved! Go to Solution.
problem resolved thank you
What was the resolution of the problem? Was it the case of the user name or something else?
user name was the issue
You should mark Jake's post as the correct answer then.