<?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: Print Widget Caching in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139904#M4609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Karen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the source code and compiling the widget yourself?&amp;nbsp; FWIW, I didn't bother with the sync/async and instead set the disableClientCaching "switch" that Bjorn mentions.&amp;nbsp; After clearing the browser cache my users' problems seem to have gone away regarding this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure about why your layout list isn't updating.&amp;nbsp; I haven't modified my list of layouts in a while, so I don't have much knowledge of the process for comparison.&amp;nbsp; Maybe try deleting the ExportWebMap service and then republishing it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 13:30:10 GMT</pubDate>
    <dc:creator>BrianOevermann</dc:creator>
    <dc:date>2013-08-21T13:30:10Z</dc:date>
    <item>
      <title>Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139898#M4603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone else had an issue with the print widget (using 3.3 codebase) where the widget seems to cache a pdf? Sometimes I would come back to a flexviewer sometimes days later and try to create a new pdf map, and it throws back a map created previously. Furthermore, recently I updated the exportwebmap print service to include a new test template and the changes aren't reflecting in the drop down box, despite the service successfully updating on the server. I have been using my own templates rather than the esri provided ones. They have worked fine since I created the service, but won't update to reflect changes when I overwrite or completely recreate the exportwebmap service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else experienced this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help with this issue would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139898#M4603</guid>
      <dc:creator>PatrickMcGarry</dc:creator>
      <dc:date>2013-07-16T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139899#M4604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Has anyone else had an issue with the print widget (using 3.3 codebase) where the widget seems to cache a pdf? Sometimes I would come back to a flexviewer sometimes days later and try to create a new pdf map, and it throws back a map created previously. Furthermore, recently I updated the exportwebmap print service to include a new test template and the changes aren't reflecting in the drop down box, despite the service successfully updating on the server. I have been using my own templates rather than the esri provided ones. They have worked fine since I created the service, but won't update to reflect changes when I overwrite or completely recreate the exportwebmap service. &lt;BR /&gt;&lt;BR /&gt;Has anyone else experienced this?&lt;BR /&gt;&lt;BR /&gt;Any help with this issue would be greatly appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds to me like you're experiencing two different issues. The bug with a previously generated PDF showing after a new map was created is different than your new MXD template now showing up in your dropdown list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do experience the first bug mentioned, and I do not experience any issues updating my MXD template folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 11:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139899#M4604</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-07-16T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139900#M4605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Patrick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My users also report issues with pdf caching.&amp;nbsp; It only happens intermittently for me.&amp;nbsp; I asked about it at the Flex Viewer island last week at the ESRI UC and the response was, to paraphrase, "sounds like it is holding it in cache" (duh!) but no solution was offered or even brainstormed.&amp;nbsp; It was an atypical response from what I have come to expect from ESRI employees.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I didn't have time to get back there in the hopes that another employee might have a better response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also do not have any issues updating my custom templates for the ExportWebMap gp task.&amp;nbsp; I believe the help documents two different methods for creating and storing the templates.&amp;nbsp; The method I used was to create a folder on my network to store the mxd map layout templates.&amp;nbsp; This folder is not on my map server but in a folder that is registered with the map server.&amp;nbsp; I have updated my layouts various times and once saved they are immediately used by the next print request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I am still on the 3.0 version, working on getting the 3.3 (well, now 3.4...) version rolled up.&amp;nbsp; The pdf caching issue has apparently existed since the gp service was first added to the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would love a solution, as I am getting "beat up" by a few users who extensively use the viewer in their workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 13:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139900#M4605</guid>
      <dc:creator>BrianOevermann</dc:creator>
      <dc:date>2013-07-16T13:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139901#M4606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My users also report issues with pdf caching.&amp;nbsp; It only happens intermittently for me.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Has anyone else had an issue with the print widget (using 3.3 codebase) where the widget seems to cache a pdf?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is due to a server-side issue with the custom exportwebmap service.&amp;nbsp; This is fixed in 10.2, but you can also workaround it by changing the service from "sync" to "async".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I updated the exportwebmap print service to include a new test template and the changes aren't reflecting in the drop down box...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is due to a server-side issue with an invalid etag for &lt;/SPAN&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task?f=json"&gt;the metadata request&lt;/A&gt;&lt;SPAN&gt; for the exportwebmap service which causes the browser to use a browser cache even when it shouldn't.&amp;nbsp; This has been reported to the server team as a bug. I think it will be fixed for 10.2.1.&amp;nbsp; You can workaround on your own machine by clearing your browser cache.&amp;nbsp; Or if you are compiling your own Print Widget, you can set disableClientCaching to true on the PrintTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It shouldn't matter which 3.x version of Flex Viewer that you are using.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 23:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139901#M4606</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2013-07-16T23:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139902#M4607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Bjorn! That has solved the issue!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 07:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139902#M4607</guid>
      <dc:creator>PatrickMcGarry</dc:creator>
      <dc:date>2013-08-06T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139903#M4608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to fix this same issue by going to async.&amp;nbsp; No dice!&amp;nbsp; I'm using 10.1 server and also a folder with the mxds registered with server.&amp;nbsp; My problem is that the list of custom documents that I've since reduced, still shows the old list, even though I've re-started the service and re-saved the Flex page.&amp;nbsp; So not sure what's happening.&amp;nbsp; Using the Print widget and the ExportWebMap service.&amp;nbsp; I also have the cache issue where the old maps shows up.&amp;nbsp; Weird.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 23:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139903#M4608</guid>
      <dc:creator>KarenFolger</dc:creator>
      <dc:date>2013-08-20T23:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139904#M4609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Karen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the source code and compiling the widget yourself?&amp;nbsp; FWIW, I didn't bother with the sync/async and instead set the disableClientCaching "switch" that Bjorn mentions.&amp;nbsp; After clearing the browser cache my users' problems seem to have gone away regarding this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure about why your layout list isn't updating.&amp;nbsp; I haven't modified my list of layouts in a while, so I don't have much knowledge of the process for comparison.&amp;nbsp; Maybe try deleting the ExportWebMap service and then republishing it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 13:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139904#M4609</guid>
      <dc:creator>BrianOevermann</dc:creator>
      <dc:date>2013-08-21T13:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139905#M4610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Flex 3.4 with the service that I created and using the Print Widget, no coding on my own.&amp;nbsp; So I don't think I can set any caching switches.&amp;nbsp; I will try deleting and re-publishing the service to clear the template list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 14:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139905#M4610</guid>
      <dc:creator>KarenFolger</dc:creator>
      <dc:date>2013-08-21T14:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget Caching</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139906#M4611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had to completely delete and re-create the print service but it seems to be working now with the async option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 22:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/print-widget-caching/m-p/139906#M4611</guid>
      <dc:creator>KarenFolger</dc:creator>
      <dc:date>2013-08-21T22:36:25Z</dc:date>
    </item>
  </channel>
</rss>

