<?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 Plus tool: Not able to retain map extent in the print out in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794214#M4439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger, just an fyi, &lt;A href="https://community.esri.com/people/Larry_Stout"&gt;Larry_Stout&lt;/A&gt;‌ switched jobs since he wrote many of his great tools. He's not on geonet as often. Hopefully this will pring him again and he'll see it...but just in case he doesn't, that is why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 22:46:17 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2016-09-14T22:46:17Z</dc:date>
    <item>
      <title>Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794209#M4434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the great tool Larry.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-3841"&gt;Print Plus Widget Version 1.1.6 July 12, 2015&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use print plus tool with ArcGIS Server's print default print service. I am on Web AppBuilder 2.0. When I try to use scale slider to adjust the map extent for print out, the print output does not retain the map extent correctly. I have attached the screen shots to illustrate the problem. Not sure if it is a known issue or I have not configured the tool correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794209#M4434</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2016-06-01T15:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794210#M4435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/7670"&gt;Roger Federer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you ever able to get this figured out ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 22:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794210#M4435</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-08-08T22:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794211#M4436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution. In printplus.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change :&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14707678560122794 jive_text_macro" data-renderedposition="86_8_1315_16" jivemacro_uid="_14707678560122794"&gt;&lt;P&gt;this.printparams.outSpatialReference = this.map.spatialReference;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14707678522604970 jive_text_macro" data-renderedposition="180_8_1315_16" jivemacro_uid="_14707678522604970" modifiedtitle="true"&gt;&lt;P&gt;this.printparams.outSpatialReference = new esri.SpatialReference({wkid:yourwkid});&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to also add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;require&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;([&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"esri/SpatialReference"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;],&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #000000;"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #303030;"&gt;in the appropriate sections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #303030;"&gt;You will then need to change the size of the page in the config. I went from around 8.5x11 to 11.65x14.8&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794211#M4436</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-08-09T18:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794212#M4437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rickey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you response. However I am not sure if I understood you response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/228074_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that in printplus.js file, on line # 160.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what value you will provide to &amp;lt;yourwkid&amp;gt; ? Is not it same as your map's spatial reference ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide some details ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 22:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794212#M4437</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2016-09-14T22:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794213#M4438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/Larry_Stout"&gt;Larry_Stout&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Can you please help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 22:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794213#M4438</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2016-09-14T22:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794214#M4439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger, just an fyi, &lt;A href="https://community.esri.com/people/Larry_Stout"&gt;Larry_Stout&lt;/A&gt;‌ switched jobs since he wrote many of his great tools. He's not on geonet as often. Hopefully this will pring him again and he'll see it...but just in case he doesn't, that is why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 22:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794214#M4439</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-09-14T22:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794215#M4440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put in the spatial reference that is local for me and my services. For me that is 2270&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So mine looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;this.printparams.outSpatialReference = new esri.SpatialReference({wkid:2270});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quoting &lt;A href="https://community.esri.com/migrated-users/9367"&gt;Ben Fousek&lt;/A&gt;‌ here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff;"&gt;If outSpatialReference is not set it uses the map's projection (102100)."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/thread/101491"&gt;Print task scale bar accuracy question&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 23:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794215#M4440</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-09-14T23:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794216#M4441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rickey for clarification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My map uses arcgis online basemap and operational data is also in WGS84 (same coordinate system). hence custom map extent is not getting retained.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 01:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794216#M4441</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2016-09-15T01:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Print Plus tool: Not able to retain map extent in the print out</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794217#M4442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca for letting me know. I hope he sees this post early.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 01:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-plus-tool-not-able-to-retain-map-extent-in/m-p/794217#M4442</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2016-09-15T01:46:11Z</dc:date>
    </item>
  </channel>
</rss>

