<?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 Exporting Info Pop-up Data in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512267#M47736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am in need of exporting the data in the info box of several featured layers. eg&amp;nbsp;&lt;A class="link-titled" href="https://tinyurl.com/y7nf9ggb" title="https://tinyurl.com/y7nf9ggb"&gt;SAWPA Dev&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am using WebMap through js api 4.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the export widget but only the map gets exported. The documentation for this widget is very limited. Can it be customized to&amp;nbsp;export info box data of all the layers? If not, any ideas on the best implementation for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2019 21:39:07 GMT</pubDate>
    <dc:creator>RobertJensen1</dc:creator>
    <dc:date>2019-01-14T21:39:07Z</dc:date>
    <item>
      <title>Exporting Info Pop-up Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512267#M47736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am in need of exporting the data in the info box of several featured layers. eg&amp;nbsp;&lt;A class="link-titled" href="https://tinyurl.com/y7nf9ggb" title="https://tinyurl.com/y7nf9ggb"&gt;SAWPA Dev&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am using WebMap through js api 4.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the export widget but only the map gets exported. The documentation for this widget is very limited. Can it be customized to&amp;nbsp;export info box data of all the layers? If not, any ideas on the best implementation for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 21:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512267#M47736</guid>
      <dc:creator>RobertJensen1</dc:creator>
      <dc:date>2019-01-14T21:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Info Pop-up Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512268#M47737</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/349677"&gt;Robert Jensen&lt;/A&gt;&amp;nbsp;I'm not totally sure what you are&amp;nbsp;trying to do. Are you wanting to print the pop-ups with the map? If so, you can do this with the MapView.takeScreenshot() method:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot"&gt;MapView | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you just want more control over the printing (exporting) process in general, I would refer to the PrintTask documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-PrintTask.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-PrintTask.html"&gt;PrintTask | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is also a handy blog post about working with screenshots:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/RLibed-esristaff/blog/2018/12/20/screenshots-with-the-arcgis-api-for-javascript-html2canvas"&gt;https://community.esri.com/people/RLibed-esristaff/blog/2018/12/20/screenshots-with-the-arcgis-api-for-javascript-html2canvas&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Noah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 16:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512268#M47737</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-01-15T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Info Pop-up Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512269#M47738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Essentially, I am trying to print out all the pop ups. So when a user selects a point on the map, they have the option to export(print) all the feature layer data from the layers they have selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screenshot will only get a single pop-up. I guess a way to resolve this would be to remove pagination from the pop ups but not sure this is possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there is a way to console log the pop-up data from all layers? I can then put info into a legend instead of paginated pop-ups. At that point a screenshot will work, or simply a print button to print locally.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 18:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512269#M47738</guid>
      <dc:creator>RobertJensen1</dc:creator>
      <dc:date>2019-01-15T18:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Info Pop-up Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512270#M47739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Are you wanting to print the pop-ups with the map? If so, you can do this with the MapView.takeScreenshot() method:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;YES. Though it says: "...&lt;SPAN style="color: #4c4c4c; font-size: 16px;"&gt;but excludes overlayed DOM elements (UI, popups, measurement labels, etc.)."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-size: 16px; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-size: 16px; "&gt;Is it not possible at all to print the info in the pop-up window?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-size: 16px; "&gt;Does not seem like the export widget is much use other than exporting the map and also a list of the layers. Is this true?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 23:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512270#M47739</guid>
      <dc:creator>RobertJensen1</dc:creator>
      <dc:date>2019-01-25T23:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Info Pop-up Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512271#M47740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the blog post I referenced, Ryan included a sample that allows you to print popups as well, here is the direct link to that sample:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/rslibed/pen/bOgObZ?editors=0010" title="https://codepen.io/rslibed/pen/bOgObZ?editors=0010"&gt;ArcGISJSAPI_html2canvas-legend-popup&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Print widget is useful for printing, maps, layers, legends, and graphics/measurements (with labels as far as I know).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 23:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-info-pop-up-data/m-p/512271#M47740</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-01-25T23:19:18Z</dc:date>
    </item>
  </channel>
</rss>

