<?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: Capture a Screenshot and Save HTML Page with Map Content in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62721#M5505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is WAB but should be a start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/528257"&gt;Screenshot widget 1.0&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 13:41:06 GMT</pubDate>
    <dc:creator>RickeyFight</dc:creator>
    <dc:date>2015-08-04T13:41:06Z</dc:date>
    <item>
      <title>Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62720#M5504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my situation, I have developed a web tool utilizing HTML, Javascript, and CSS. The tool looks wonderful on the screen, but when one goes to print the mapDiv does not show and the header/footer and other elements are squished together and makes it unusable to the end user. I have looked around the web a lot today and have been unable to find a solution that works to create a screenshot tool for the end-user to press and get their screenshot. Items I have looked into include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;html2canvas - Does not print the mapDiv&lt;/P&gt;&lt;P&gt;ESRI print digit - Only prints the&amp;nbsp; mapDiv and nothing from the HTML&lt;/P&gt;&lt;P&gt;phantomjs - Is an executable program which I do not want to run in case of failure&lt;/P&gt;&lt;P&gt;Fireshot API - Works, but only in certain broswers&lt;/P&gt;&lt;P&gt;CSS for printing - many colors not supported and would require a major overhaul to allow usage on many screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if anyone has an idea on how to make a button on my page which will in essence print screen the page and then prompt the user to the save the image for their usage later I would be eternally grateful. Also if any of the options I have already explored may be a solution please feel free to share on how to make a tool work in this fashion as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 00:33:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62720#M5504</guid>
      <dc:creator>JamieWhite1</dc:creator>
      <dc:date>2015-08-04T00:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62721#M5505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is WAB but should be a start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/528257"&gt;Screenshot widget 1.0&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 13:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62721#M5505</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-08-04T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62722#M5506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having not seen your application, I don't know if this will work for you but here's what I have done for one of my applications to add a "print map" functionality. I decided to create a print template built on HTML elements and then add the JPEG result of the PrintTask once it completes. Here's a screen shot of the simple map template of HTML elements:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="printMapTemplate.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120627_printMapTemplate.jpg" style="width: 620px; height: 369px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then once the PrintTask is completed, the resulting JPEG is inserted into a particular DIV element on the page for the final map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="printMapComplete.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/120628_printMapComplete.jpg" style="width: 620px; height: 461px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Granted, you'll spend some quality time up front coming up with the HTML template but the rest of the code isn't much. You'll notice some extra code that selectively turns on/off legend elements based on what the user currently has visible when they clicked my print map button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var html;
define ([
&amp;nbsp; "dojo/_base/declare",
&amp;nbsp; "esri/tasks/PrintTemplate",
&amp;nbsp; "esri/tasks/PrintParameters",
&amp;nbsp; "esri/tasks/PrintTask"
], function (
&amp;nbsp; declare, PrintTemplate, PrintParameters, PrintTask
) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; return declare(null,{
&amp;nbsp; returnPrintMapTemplate: function() {
&amp;nbsp; html ='your HTML template goes here';
&amp;nbsp; return html;
&amp;nbsp; },
&amp;nbsp; createPrintedMap: function(userTitle) {
&amp;nbsp; //The new browser window must be opened in the function called by the 'onClick' event so
&amp;nbsp; //the new window is created here and its associated variable is created with a global scope.
&amp;nbsp; //Calculate the center of the screen for placement of the new window
&amp;nbsp; var center_left = (screen.width / 2) - (1100 / 2);
&amp;nbsp; var center_top = (screen.height / 2) - (600 / 2);
&amp;nbsp; newWindow = window.open('mapPrint.html','mywindow','width=1100,height=600,menubar=yes,scrollbars=yes,left=' + center_left + ',top=' + center_top);


&amp;nbsp; //Create the string based version of the HTML page template
&amp;nbsp; var bodyContent = this.returnPrintMapTemplate();
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; //Open the new window and obtain a reference to it's DOM
&amp;nbsp; theDocument = newWindow.document;

&amp;nbsp; //Swap out the empty DOM of the browser for a string based version of the HTML template
&amp;nbsp; theDocument.open("text/html","replace");
&amp;nbsp; theDocument.write(bodyContent);
&amp;nbsp; theDocument.close();

&amp;nbsp; //Now begin editing/adding page elements as needed
&amp;nbsp; if (userTitle.length &amp;gt; 0) {
&amp;nbsp; theDocument.getElementById("prjName").innerHTML = userTitle;
&amp;nbsp; } else {
&amp;nbsp; theDocument.getElementById("prjName").innerHTML = "Project Vicinity";
&amp;nbsp; }

&amp;nbsp; censusOn = false;

&amp;nbsp; if (document.getElementById("raceTractBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Minority Population Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Minority Population by Census Tract";
&amp;nbsp; censusOn = true;
&amp;nbsp; }


&amp;nbsp; if (document.getElementById("raceBlockBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Minority Population Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Minority Population by Block Group";
&amp;nbsp; censusOn = true;
&amp;nbsp; }


&amp;nbsp; if (document.getElementById("incomeTractBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Low Income Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Low Income Population by Census Tract";
&amp;nbsp; censusOn = true;
&amp;nbsp; }


&amp;nbsp; if (document.getElementById("incomeBlockBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Low Income Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Low Income Population by Block Group";
&amp;nbsp; censusOn = true;
&amp;nbsp; }


&amp;nbsp; if (document.getElementById("lepTractBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Limited English Proficiency Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Limited English Proficiency by Census Tract";
&amp;nbsp; censusOn = true;
&amp;nbsp; }


&amp;nbsp; if (document.getElementById("lepBlockBtn").checked) {
&amp;nbsp; theDocument.getElementById("censusThemeName").innerHTML = "Limited English Proficiency Data:";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Limited English Proficiency by Block Group";
&amp;nbsp; censusOn = true;
&amp;nbsp; }

&amp;nbsp; if (!censusOn) {
&amp;nbsp; theDocument.getElementById("censusDataLegend").style.display = "none";
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Project Vicinity";


&amp;nbsp; if (document.getElementById("tractBtn").checked) {
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Census Tract Boundaries";
&amp;nbsp; }

&amp;nbsp; if (document.getElementById("bgBtn").checked) {
&amp;nbsp; theDocument.getElementById("prjLimits").innerHTML = "Block Group Boundaries";
&amp;nbsp; }
&amp;nbsp; } else {
&amp;nbsp; theDocument.getElementById("censusDataLegend").style.display = "inline";
&amp;nbsp; }

&amp;nbsp; if ((!document.getElementById("tractBtn").checked) || (!document.getElementById("bgBtn").checked)) {
&amp;nbsp; theDocument.getElementById("censusBoundaryLegend").style.display = "none";
&amp;nbsp; }

&amp;nbsp; pTemplate = new PrintTemplate();
&amp;nbsp; pTemplate.exportOptions = {
&amp;nbsp; width: 638,
&amp;nbsp; height: 609,
&amp;nbsp; dpi: 96
&amp;nbsp; };
&amp;nbsp; pTemplate.format = "jpg";
&amp;nbsp; pTemplate.layout = "MAP_ONLY";
&amp;nbsp; pTemplate.preserveScale = false;
&amp;nbsp; pTemplate.showAttribution = false;


&amp;nbsp; var params = new PrintParameters();
&amp;nbsp; params.map = app.map;
&amp;nbsp; params.template = pTemplate;


&amp;nbsp; jpgMapDiv = theDocument.getElementById("mapAreaBlock");

&amp;nbsp; pPrintTask = new PrintTask(url);
&amp;nbsp; pPrintTask.execute(params, function(result) {
&amp;nbsp; jpgMapDiv.innerHTML = "&amp;lt;img src=\"" + result.url + "\" \&amp;gt;";
&amp;nbsp; newWindow.alert('Your map is ready!\n\nIn order to print this map properly, please use the following recommended settings under Print Setup:\n\n\u2022 Landscape orientation\n\u2022 0.25" margins\n\u2022 "Print Background Colors and Images" is checked');
&amp;nbsp; });
&amp;nbsp; },
&amp;nbsp; getMapTitle: function() {
&amp;nbsp; $("#freeow").empty();
&amp;nbsp; theModalDlg = document.getElementById("mapTitleDialog");
&amp;nbsp; theContent = theModalDlg.innerHTML;
&amp;nbsp; theDialogTitle = 'Please provide a map title &amp;lt;span style="font-style:italic"&amp;gt;(30 characters Max):&amp;lt;/span&amp;gt;';
&amp;nbsp; $("#freeow").freeow(theDialogTitle, theContent, {
&amp;nbsp; classes: ["smokey"],
&amp;nbsp; autoHide: false,
&amp;nbsp; autoHideDelay: 5000
&amp;nbsp; }).show();
&amp;nbsp; },
&amp;nbsp; adjustCharLeftLabel: function() {
&amp;nbsp; theTitleTextbox = document.getElementById("txtMapTitle");
&amp;nbsp; curTitle = theTitleTextbox.value;
&amp;nbsp; charsLeft = 30 - curTitle.length;
&amp;nbsp; if (charsLeft &amp;lt; 10) {
&amp;nbsp; document.getElementById("lblCharsLeft").style.color = "red";
&amp;nbsp; } else {
&amp;nbsp; document.getElementById("lblCharsLeft").style.color = "white";
&amp;nbsp; }
&amp;nbsp; document.getElementById("lblCharsLeft").innerHTML = charsLeft + " characters remaining";
&amp;nbsp; },
&amp;nbsp; screenMapTitle: function() {
&amp;nbsp; theTitleTextbox = document.getElementById("txtMapTitle");
&amp;nbsp; curTitle = theTitleTextbox.value;


&amp;nbsp; if (curTitle.length &amp;gt; 30) {
&amp;nbsp; $("#freeow").freeow("Whoops!", 'Your map title is more than 30 characters in length. Please revise and try again.', {
&amp;nbsp; classes: ["simple"],
&amp;nbsp; autoHide: true,
&amp;nbsp; autoHideDelay: 5000
&amp;nbsp; }).show();
&amp;nbsp; } else {
&amp;nbsp; $("#freeow").empty();
&amp;nbsp; app.pf.createPrintedMap(curTitle);
&amp;nbsp; }
&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});&lt;/PRE&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62722#M5506</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2021-12-10T22:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62723#M5507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey, I do appreciate the starting point but after reviewing it it appears the same thing is happening with the sample that happened when I attempted to invoke html2canvas as well where the map content does not get pushed out to the exported image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great starting point, but I think there has to be something else that may work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62723#M5507</guid>
      <dc:creator>JamieWhite1</dc:creator>
      <dc:date>2015-08-04T15:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62724#M5508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That may be the result I go with in the end. I like the thought process behind it as well. I have a few other items to knock off my list before I undertake an endeavor to add in more code for printing but thanks for sharing it for sure. If you or anyone else can think of a way to do a screenshot I am definitely all ears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Here is a screen capture of my page&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="120616" class="image-1 jive-image" height="534" src="https://community.esri.com/legacyfs/online/120616_pastedImage_0.png" style="max-width: 1200px; max-height: 900px; width: 893px; height: 533.5675px;" width="893" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the jsfiddle (Please bare with me as a I am a bit new to some of this):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://jsfiddle.net/3sm3ngm8/2/" title="https://jsfiddle.net/3sm3ngm8/2/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 16:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62724#M5508</guid>
      <dc:creator>JamieWhite1</dc:creator>
      <dc:date>2015-08-04T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62725#M5509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the interest of full disclosure, my approach is a simplified version of what you can do behind the scenes with ArcGIS Server where you have the ability to create/edit map templates that your end user can select from when they click a print map button. I haven't done this because, within my organization, I don't really have access to the location where these templates are stored. Anyways here's a &lt;A href="http://server.arcgis.com/en/server/latest/create-web-apps/windows/printing-in-web-applications.htm"&gt;link&lt;/A&gt; and &lt;A href="http://server.arcgis.com/en/server/latest/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm"&gt;link&lt;/A&gt; from the Help Docs about this. This gets a little confusing for me but between the Help doc and some forum searches about it, you'll get a better idea about pursuing that option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 16:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62725#M5509</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-08-04T16:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62726#M5510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really do appreciate the idea, believe me I do. The main reason I want the screenshot is due to the selection of items on the screen and the search result box being populated. The map solution you have provided will work, but the coding required to push the information of the search results to the template is what I am uncertain of. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 16:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62726#M5510</guid>
      <dc:creator>JamieWhite1</dc:creator>
      <dc:date>2015-08-04T16:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62727#M5511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bit simplistic but your Search Results box is an HTML element so you can pull out the contents if you know the name of the HTML element. Assuming the ID is "searchResults":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;var theResults = document.getElementById(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"searchResults"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;).innerText; //or innerHTML (whichever works best)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now populate it in your print template using the same technique:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;theDocument.getElementById(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"searchResultsContent"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;).innerHTML = theResults;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be some trial and error to get the content and to format it the way you want it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 17:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62727#M5511</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-08-04T17:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capture a Screenshot and Save HTML Page with Map Content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62728#M5512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like your thought process. I will test out some of your ideas and if they work you will be the correct answer until a better tool comes around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI .innerHTML from what I have read is not best practice anymore if you use jQuery&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.joezimjs.com/javascript/jquery-html-youre-doing-it-wrong/" title="http://www.joezimjs.com/javascript/jquery-html-youre-doing-it-wrong/"&gt;http://www.joezimjs.com/javascript/jquery-html-youre-doing-it-wrong/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just some food for thought &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 17:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-a-screenshot-and-save-html-page-with-map/m-p/62728#M5512</guid>
      <dc:creator>JamieWhite1</dc:creator>
      <dc:date>2015-08-04T17:45:17Z</dc:date>
    </item>
  </channel>
</rss>

