I am trying to manage legend items to enable or disable in export web map task. I have two different system, one is arcgis server 10.2 and the other one is 10.5.1. I am testing the same map template in booth servers. The result printing legend is including Layer Names in version 10.5.1 but Layer Names not included in version 10.2. Both are using similar map layers but same template. A sample json file attached. There were some other questions but there is no result.
I wan't to know is there a way to manage this problem.