<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Occasional problem with custom text in Print widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558923#M14816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Ryan,&lt;/P&gt;&lt;P&gt;can you pls check and try to find out why Get Layout Templates Info is throwing an error?&amp;nbsp;Check Server Log on the Manager or switching the Print service's log-level setting to Info or Warning and resubmit the job should give you more information which might help you narrow it down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2018 20:42:47 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2018-11-19T20:42:47Z</dc:date>
    <item>
      <title>Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558920#M14813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified my layout templates and print service so when&amp;nbsp;using the Print widget, and opening the Advanced menu, you have a nice sized "Comments" box for your own text, rather than the Author&amp;nbsp;and Copyright boxes provided by the default layouts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great most of the time, but occasionally it reverts to the default Author and Copyright text boxes.&amp;nbsp; I haven't figured out the circumstances or how to replicate the problem, so right now it seems kind of random and hard to diagnose.&amp;nbsp; When it does happen, I see this error in the console:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;panel [widgets_Print_Widget_25_panel] created.
WidgetManager.js?wab_dv=2.10:114 widget [widgets/Print/Widget] created.
Print.js?wab_dv=2.10:193 Get Layout Templates Info Error Error: Unable to complete operation.
 at Object.m.load (init.js:1034)
 at init.js:88
 at c (init.js:104)
 at e (init.js:104)
 at b.Deferred.resolve.callback (init.js:106)
 at c (init.js:105)
 at e (init.js:104)
 at b.Deferred.resolve.callback (init.js:106)
 at init.js:93
 at l (init.js:108)‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running ArcGIS Server 10.5.1 and WAB 2.10.&amp;nbsp; I thought the problem could be related to instances of my print service going idle, but I have it set&amp;nbsp;with a minimum of 2 instances running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558920#M14813</guid>
      <dc:creator>RyanKelso</dc:creator>
      <dc:date>2021-12-12T00:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558921#M14814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you pls have&amp;nbsp;your browser Developer Tools open and when you see that error, check the Network tab on the Developer Tool and see whether&amp;nbsp;there is any error returned by Get Layout Templates Info request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 23:29:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558921#M14814</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-11-16T23:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558922#M14815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, what I found was status code 200 OK, with this response:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: black; font-size: 12px;"&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool. Get Layout Templates Info"]}}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 16:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558922#M14815</guid>
      <dc:creator>RyanKelso</dc:creator>
      <dc:date>2018-11-19T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558923#M14816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Ryan,&lt;/P&gt;&lt;P&gt;can you pls check and try to find out why Get Layout Templates Info is throwing an error?&amp;nbsp;Check Server Log on the Manager or switching the Print service's log-level setting to Info or Warning and resubmit the job should give you more information which might help you narrow it down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 20:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558923#M14816</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-11-19T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558924#M14817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for giving me some ideas to try, Tanu.&amp;nbsp; I see the following errors in the server log when I see the Get Layout Templates Info error in my app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border-width: 1px; border-color: #000000;" width="800"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64"&gt;&lt;SPAN style="font-size: 12px;"&gt;Level&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="212"&gt;&lt;SPAN style="font-size: 12px;"&gt;Time&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="489"&gt;&lt;SPAN style="font-size: 12px;"&gt;Message&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="590"&gt;&lt;SPAN style="font-size: 12px;"&gt;Source&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="64"&gt;&lt;SPAN style="font-size: 12px;"&gt;SEVERE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="212"&gt;&lt;SPAN style="font-size: 12px;"&gt;Nov 19, 2018, 4:18:15 PM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="489"&gt;&lt;SPAN style="font-size: 12px;"&gt;Error executing tool. Get Layout Templates Info&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="590"&gt;&lt;SPAN style="font-size: 12px;"&gt;Printing/ExportWebMapSecured.GPServer&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="64"&gt;&lt;SPAN style="font-size: 12px;"&gt;SEVERE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="212"&gt;&lt;SPAN style="font-size: 12px;"&gt;Nov 19, 2018, 4:18:15 PM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="489"&gt;&lt;SPAN style="font-size: 12px;"&gt;Error executing tool. Get Layout Templates Info : Whitespace is not allowed at this location.&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="590"&gt;&lt;SPAN style="font-size: 12px;"&gt;Printing/ExportWebMapSecured.GPServer&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what to make of those errors.&amp;nbsp; I can load the app the exact same way a&amp;nbsp;dozen times and not get this error, and then might show up the next time, then go away after that.&amp;nbsp; So hard to troubleshoot.&amp;nbsp; I feel like I might have a better shot at trying to mod the Print widget to handle the error and repeat the Get Layout Templates Info request until it succeeds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 16:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558924#M14817</guid>
      <dc:creator>RyanKelso</dc:creator>
      <dc:date>2018-11-20T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558925#M14818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ryan.&lt;/P&gt;&lt;P&gt;I'm assuming this is your own print service with your own layout templates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you know Get Layout Template Info is a gp script tool available on Desktop/ArcMap. Can you see whether you can execute this script tool in ArcMap with your layout templates and repro this issue? if you can do that, can you try to narrow it to down to which layout template is causing this failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 00:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558925#M14818</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-11-21T00:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558926#M14819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is my own service with my own templates.&amp;nbsp; I'll give the script tool in ArcMap a shot and see what I can find out.&amp;nbsp; Does "Whitespace is not allowed at this location" mean anything to you?&amp;nbsp; Like, do you know if this means something specific I should be looking for?&amp;nbsp; Thanks again for helping me along with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 00:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558926#M14819</guid>
      <dc:creator>RyanKelso</dc:creator>
      <dc:date>2018-11-21T00:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional problem with custom text in Print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558927#M14820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Ryan,&amp;nbsp;the error message&amp;nbsp;does not&amp;nbsp;give me much clue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 00:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/occasional-problem-with-custom-text-in-print/m-p/558927#M14820</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-11-21T00:44:02Z</dc:date>
    </item>
  </channel>
</rss>

