<?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: how to print map with selected parcel highlighted in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851579#M10918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Printing the search results using the eSearch widget is a simple configuration option. In the eSearch widgets configuration for that layer make sure you select/check the&amp;nbsp;"Add result&amp;nbsp;as operational layer". This way when the widget is closed the layer does not get cleared from the map unless you specifically clear the search results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Feb 2020 02:36:40 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-02-13T02:36:40Z</dc:date>
    <item>
      <title>Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851577#M10916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom print service task published on portal, now I can print attributes, but how can I make the printed map have my search results parcel selected on map?&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the search, the parcel is selected/highlighted, but when I click on print widget, the eSearch widget is closed, and the parcel's highlighted boundary is gone.&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/482064_print.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 00:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851577#M10916</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2020-02-13T00:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851578#M10917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure you can print a selection, but what you can do instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Replicate the layer in your layer list and make sure it's on top of the original.&lt;/LI&gt;&lt;LI&gt;Set the symbology of the new layer to be similar to a selection (same area or transparent area, bright blue outline).&lt;/LI&gt;&lt;LI&gt;Instead of selecting features, apply a filter (through the table or Filter widget) to the new layer.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you will have your original layer showing the same, and the new layer on top will show only the filtered features with selection-like colors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 02:05:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851578#M10917</guid>
      <dc:creator>UriGilad_EsriAu</dc:creator>
      <dc:date>2020-02-13T02:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851579#M10918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Printing the search results using the eSearch widget is a simple configuration option. In the eSearch widgets configuration for that layer make sure you select/check the&amp;nbsp;"Add result&amp;nbsp;as operational layer". This way when the widget is closed the layer does not get cleared from the map unless you specifically clear the search results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 02:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851579#M10918</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-02-13T02:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851580#M10919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;When I turn on &lt;SPAN style="background-color: #ffffff;"&gt;"Add result&amp;nbsp;as operational layer"&lt;/SPAN&gt;, The parcel is highlighted in the generated PDF to print, which is great!&lt;/P&gt;&lt;P&gt;But the customTextElements&amp;nbsp;are gone&amp;nbsp;because the eSearch widget's graphicsLayer in print.js is unavailable.&amp;nbsp;&lt;BR /&gt;What could I have done wrong?&amp;nbsp; (I am using your eSearch 2.9, from 2/2019)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851580#M10919</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2020-02-13T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851581#M10920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So it sounds like you have made a customization to the print.js file based on one of my other threads that allows you to use custom text elements in your print layout. Line 5 below it is search for the eSearch widgets "Search Results: Parcels" Where Parcels is the name of the eSearch search layer. It sounds like your code is not finding the layer name that you have in your code.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//See if there is a parcel search layer added to the map&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; plyr&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        array&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;some&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphicsLayerIds&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lang&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;hitch&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layerId&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
          &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; lyr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layerId&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
          &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Search Results: Parcels"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            plyr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lyr&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
          &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:29:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851581#M10920</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget: how to print map with selected parcel highlighted</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851582#M10921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;I found out why. The layer name is different if I turn on the operational layer.. I got it working!. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 20:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-how-to-print-map-with-selected-parcel/m-p/851582#M10921</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2020-02-13T20:10:02Z</dc:date>
    </item>
  </channel>
</rss>

