Custom print service in ArcGIS Web AppBuilder fails when used in conjunction with the Select widget and returns the error message, "Error executing tool. Export Web Map : Report: Unable to write PDF to location <file path to temp folder>."
No longer reproducible. Starting from ArcGIS Enterprise 11.5, the print service natively supports reporting capabilities by default, eliminating the need for custom solutions.
For more information, refer to ArcGIS Server: Publish a print service to ArcGIS Enterprise portal to enable reports (https://enterprise.arcgis.com/en/server/latest/publish-services/windows/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.htm#ESRI_SECTION1_01EF7E3FA92A407FB908CA1F86F3DB45).