Hello,
Not sure, how to fix this one particular issue.
Published the custom print python tool for the Custom Layout (pagx) files by following the guidelines https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm
Able to see the new Template options under Print Tool, but when we try it to print it, it gives the below error.
[esri.core.Accessor] Accessor#set 'Custom_Quicklook_Template_11x17_105' is not a valid value for this property, only the following values are valid: 'map-only', 'a3-landscape', 'a3-portrait', 'a4-landscape', 'a4-portrait', 'letter-ansi-a-landscape', 'letter-ansi-a-portrait', 'tabloid-ansi-b-landscape', 'tabloid-ansi-b-portrait'
Then added the extend to the TemplateOptions from Accessor but the error still exist.
export interface TemplateOptions extends __esri.Accessor {
layout:
| "map-only"
| "a3-landscape"
| "a3-portrait"
| "a4-landscape"
| "a4-portrait"
| "letter-ansi-a-landscape"
| "letter-ansi-a-portrait"
| "tabloid-ansi-b-landscape"
| "tabloid-ansi-b-portrait"
| "Custom_Quicklook_Template_11x17_105";
/**
* When `false`, the legend is not displayed on the printout.
*
*
*/
}
Thanks and Regards,
Shay