I was trying to add print template widget to my so far working application, the print widget is seems to be working now but everything else is not, even the feature layers are not showing up. I am not using our arcgis server but the the arcgis online, sample server URL, to do the print task, could that be the reason? If anyone can please take a look at my code and help me figure out the problem, that will be great, thanks!!
Here is the link to the JS fiddle with my code :