I built a simple Web AppBuilder application in ArcGIS Online (with all data coming from hosted feature services), but I'm getting strange behavior from Esri's default print service. When trying to use any other layout than MAP_ONLY, it either foes nothing and instantly returns only an "Error, try again" warning as shown below. When I hover over the error, a tooltip says "Cannot read property renderer of undefined". Oddly, MAP_ONLY works fine. Also odd is that I checked several other apps I've previously built, and the print service works fine on those.
I've tried rebuilding the app from scratch to no avail, and tried a different browser. Any insight or workaround is appreciated. Below is a screenshot of the app as well as the developer console in Chrome.
Solved! Go to Solution.
After more testing, If you go to another template add a title then go back to map_only, it will print a map.
Thanks Rickey - as I mentioned in the original post, MAP_ONLY is working. In any case, I need my users to just be able to print a map without having to know a workaround or being limited to MAP_ONLY. This will be public-facing.
Is this your export web map service? If soRepublishe it with info level warnings and make sure its synchronous and you have added the get map template info result. Completely remove the widget, save, exit. Restart web editor and add the widget again.