I've prepared a map with multiple data frames using ArcMap and setup my desired layout. I published the map onto the ArcGIS Server and setup a printing service which uses the custom layout of the published map. However when i call for printing task from a jscript application all i see is the main map in one of the data frames correctly displayed and all. The other data frames appear and get the correct extent and grid etc but no map data shows.
in Jscript the printing parameters is passed in the following fashion:
parameters.map = bmap.map; parameters.templates = templates; printTask.execute(parameters, result);
Am i supposed to be adding some information about which dataframe in the map should be connected to which frame in the layout? Seems all that is happening is that the map is just sent as is to the dataframe which was set to active.
Any tips as to why this is happening? I can give some more info if needed.