<?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 Various problems with the map-tools-template for web map applications in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/various-problems-with-the-map-tools-template-for/m-p/380627#M5153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently downloaded the map-tools-template from &lt;A href="https://github.com/Esri/map-tools-template" title="https://github.com/Esri/map-tools-template"&gt;Esri/map-tools-template · GitHub&lt;/A&gt;&amp;nbsp; and configured defaults.js to connect to my 10.3 Portal for ArcGIS Instance and a web map I had created earlier (i'm hosting the application on a entirely separate web server).&amp;nbsp; Most of the core functionality works great, but I have some problems when trying to enable some enhanced features.&lt;/P&gt;&lt;P&gt;1: Print task - t&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;he print task executes successfully using our internal Export Web Map Task - if I check response in the Chrome console, I can see the uri for the resultant pdf (ie,&lt;/SPAN&gt;&lt;A href="https://ourgisserver.domain.com/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/_ags_a9f6356224014f44bd08ed32495ff169.pdf" style="color: #4078c0; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;https://ourgisserver.domain.com/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/_ags_a9f6356224014f44bd08ed32495ff169.pdf&lt;/A&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;). &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;However, the app doesn't automatically download the pdf. At some point in the JS, window.location would have to be set to the uri for the pdf but that doesn't seem to happen and the casual user does not get the pdf....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;2. Table view: I can't seem to control the table view.&amp;nbsp; In defaults.js, there is a tableLayer object with id and fields parameters, but no matter what I put in there, I can't seem to control what appears in the table view (right now it is arbitrarily the 9th layer in my map).&amp;nbsp; I also don't know what to put for the tableLayer id attribute (the name of the layer in the web map?&amp;nbsp; I can't seem to find any "layer id" associated with layers in a Portal web map). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;3. Search layers: in addition, I can't seem to control the searchLayers function.&amp;nbsp; The search function works well on my various locators I've configured with portal, but I can't figure out how to include an attribute from one or more of my layers in the search query.&amp;nbsp; Again, in defaults.js there is a searchLayers object with id and fields attributes, but if I add anything to this section, it breaks the entire search box.&amp;nbsp; In addition, editing the web map properties itself to Search by Layer also breaks the search functionality in my application.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;If anyone has any tips on how to make these features work, please let me know!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;Thanks so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 17:00:23 GMT</pubDate>
    <dc:creator>Jay_Gregory</dc:creator>
    <dc:date>2015-09-29T17:00:23Z</dc:date>
    <item>
      <title>Various problems with the map-tools-template for web map applications</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/various-problems-with-the-map-tools-template-for/m-p/380627#M5153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently downloaded the map-tools-template from &lt;A href="https://github.com/Esri/map-tools-template" title="https://github.com/Esri/map-tools-template"&gt;Esri/map-tools-template · GitHub&lt;/A&gt;&amp;nbsp; and configured defaults.js to connect to my 10.3 Portal for ArcGIS Instance and a web map I had created earlier (i'm hosting the application on a entirely separate web server).&amp;nbsp; Most of the core functionality works great, but I have some problems when trying to enable some enhanced features.&lt;/P&gt;&lt;P&gt;1: Print task - t&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;he print task executes successfully using our internal Export Web Map Task - if I check response in the Chrome console, I can see the uri for the resultant pdf (ie,&lt;/SPAN&gt;&lt;A href="https://ourgisserver.domain.com/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/_ags_a9f6356224014f44bd08ed32495ff169.pdf" style="color: #4078c0; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;https://ourgisserver.domain.com/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/_ags_a9f6356224014f44bd08ed32495ff169.pdf&lt;/A&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;). &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;However, the app doesn't automatically download the pdf. At some point in the JS, window.location would have to be set to the uri for the pdf but that doesn't seem to happen and the casual user does not get the pdf....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;2. Table view: I can't seem to control the table view.&amp;nbsp; In defaults.js, there is a tableLayer object with id and fields parameters, but no matter what I put in there, I can't seem to control what appears in the table view (right now it is arbitrarily the 9th layer in my map).&amp;nbsp; I also don't know what to put for the tableLayer id attribute (the name of the layer in the web map?&amp;nbsp; I can't seem to find any "layer id" associated with layers in a Portal web map). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;3. Search layers: in addition, I can't seem to control the searchLayers function.&amp;nbsp; The search function works well on my various locators I've configured with portal, but I can't figure out how to include an attribute from one or more of my layers in the search query.&amp;nbsp; Again, in defaults.js there is a searchLayers object with id and fields attributes, but if I add anything to this section, it breaks the entire search box.&amp;nbsp; In addition, editing the web map properties itself to Search by Layer also breaks the search functionality in my application.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;If anyone has any tips on how to make these features work, please let me know!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;Thanks so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/various-problems-with-the-map-tools-template-for/m-p/380627#M5153</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2015-09-29T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Various problems with the map-tools-template for web map applications</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/various-problems-with-the-map-tools-template-for/m-p/380628#M5154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on your item #3 for my own needs.&amp;nbsp; I thought I would configure the template app in AGO, then figure out how to snag the default.js file and grab the config settings from it (Google Chrome F12 tool).&amp;nbsp; haven't figured it out yet, but I only spent about 20 minutes after reading the instructions before I ran out of time.&amp;nbsp; Maybe more later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/various-problems-with-the-map-tools-template-for/m-p/380628#M5154</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2015-10-14T23:27:23Z</dc:date>
    </item>
  </channel>
</rss>

