Hello,
i am using this code:
esri.urlUtils.addProxyRule({
urlPrefix: "***",
proxyUrl: "***"
});
And it doesn't work, I get this error in the console:
Uncaught TypeError: Cannot read property 'addProxyRule' of undefined
I added the currect classes to the require part:
require([
"esri/map", "esri/dijit/Search", "esri/layers/FeatureLayer", "esri/InfoTemplate", "dojo/domReady!","esri/layers/ArcGISDynamicMapServiceLayer", "esri/urlUtils"
], function (Map, Search, FeatureLayer, InfoTemplate, ArcGISDynamicMapServiceLayer, urlUtils)
What am I missing?
thank you.