var layouts = [
{
"name": orient_map, //[ A3 Landscape, A3 Portrait, A4 Landscape, A4 Portrait, Letter ANSI A Landscape, ... ]
"format": "jpg",
"label": "Print",
"options": {
"legendLayers": "", // empty array means no legend
"authorText": "",
"scalebarUnit": "",
"titleText":'<p>'+ printTitle+'</p>'
}
}
Full path to the folder where map documents (.mxd's) to be used as Layout Templates are located. The default location is <install_directory>\Templates\ExportWebMapTemplates.