var censusMapLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer"
Thanks for responding.I'm still a bit confused/frustrated. I would like to create a service via ArcGIS Online hosting that I can then use in a web map that will allowing searching for a feature based on some value in my table.It doesn't look like there is a prefab ArcOnline web template with Search capability. (Which seems strange, isn't this one of the most common things to do?) No problem, I thought, I'll just use one of the JavaScript samples (I'm not a competent programmer, rather a cutter, paster, scripter). The problem is the only service ArcGIS online is creating is a feature service. This apparently can't be used as a dynamic service?? And there is no code examples for using the find function with a feature service (unless I missed it).Funny to say but I missing the good old days of ArcIMS.Any advice is greatly appreciated.Thank!
Nobody actually answered the question:Is it possible to create a ArcGISDynamicMapServiceLayer from map service published from ArcGIS Online?Thanks,
Types of hosted services you can publishHosted feature servicesHosted tiled map services
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.