<?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: Shapefiles in the print widget and the screening widget  in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767888#M1343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Hello&amp;nbsp;&lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;, how are you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I read about the Add Data widget in the WAB help.&lt;/SPAN&gt; &lt;SPAN&gt;It would be useful for me, but I will need to customize it, because the request is to allow only "shapefile" and not "csv" and "kml".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that my application is in version 2.2 of WAB.&lt;/SPAN&gt; &lt;SPAN&gt;I installed WAB 2.7 on my machine, and I created an application with only 3 layers, I added this widget, but whenever I add the shapefile .zip file, I get this message in the console and on the screen in a popup: "Generate Features&lt;/SPAN&gt; &lt;SPAN&gt;error: Unable to determine hosted server's instance URL (no hosted server configured?) ".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read something about it, but I did not quite understand why.&lt;/SPAN&gt; &lt;SPAN&gt;Is there anything about the arcgis server configuration that I need to do?&lt;/SPAN&gt; &lt;SPAN&gt;It is?&lt;/SPAN&gt; &lt;SPAN class=""&gt;Except that we are with version 10.3 of the arcgis server, and the help speaks in version 10.6.&lt;/SPAN&gt; &lt;SPAN&gt;Is there anything I can do, or will we be forced to migrate to version 10.6?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2018 18:45:26 GMT</pubDate>
    <dc:creator>GilbertoMatos</dc:creator>
    <dc:date>2018-04-23T18:45:26Z</dc:date>
    <item>
      <title>Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767885#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en" style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;&lt;SPAN title="Olá amigos!"&gt;Hello friends!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Estou com dois problemas, que não estou conseguindo achar uma solução."&gt;I have two problems, I can not find a solution.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Eu nunca havia trabalhado com importação de shapefiles (temporários)."&gt;I had never worked with import of shapefiles (temporary).&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Me foi solicitado essa demanda."&gt;I was asked for this claim.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Consegui customizar o widget disponibilizado aqui na comunidade geonet."&gt;I was able to customize the widget provided here in the geonet community.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Fiz as customizações que precisava e até aí tudo ok."&gt;I made the customizations I needed and until then everything ok.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="O problema, é que me solicitaram que ao gerar a impressão em pdf com o print widget, fosse incluída a legenda dos shapefiles também (com a simbologia, textos, etc), mas não estou conseguindo encontrar onde devo customizar e nem como devo fazer isso"&gt;The problem is that I was asked to generate the pdf print with the print widget, the shapefiles legend should be included too (with symbology, texts, etc), but I can not find where to customize and how to do it&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="."&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="O meu segundo problema, é que o widget screening (na ferramenta de desenho e de coordenadas), não carrega as camadas shapes para cruzamento das informações e geração do relatório."&gt;My second problem is that the widget screening (in the drawing and coordinate tool) does not load the shapes layers for intersection of information and report generation.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Já tentei usar a parte de shapefile do mesmo, mas não fui capaz de corrigir todos os erros que foram exibidos, sendo um deles, o fato do widget de camadas não exibir de nenhuma maneira o shapefile importado."&gt;I have already tried to use the shapefile part of it, but I was not able to fix all the errors that were displayed, one of them being the fact that the layer widget did not display the imported shapefile in any way.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Agradeço qualquer ajuda e aproveito para pedir desculpas pelo inglês."&gt;Thanks for any help and I apologize for English.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN title="Sou do brasil e preciso utilizar o google tradutor."&gt;I'm from Brazil and I need to use google translator.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Obrigado!"&gt;Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Gilberto."&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 01:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767885#M1340</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-22T01:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767886#M1341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Gilberto,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;Have you tried with the Add data widget?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 20:40:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767886#M1341</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-22T20:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767887#M1342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not yet used this widget you mentioned. My problem is that the system version was made using WAB 2.2, including the screening widget I made some modifications to be able to work in my application. Actually these two problems are giving me a little headache. I'll try to test it to see if it meets my need. Thanks a lot for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hug,&lt;BR /&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 03:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767887#M1342</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-23T03:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767888#M1343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Hello&amp;nbsp;&lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;, how are you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I read about the Add Data widget in the WAB help.&lt;/SPAN&gt; &lt;SPAN&gt;It would be useful for me, but I will need to customize it, because the request is to allow only "shapefile" and not "csv" and "kml".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that my application is in version 2.2 of WAB.&lt;/SPAN&gt; &lt;SPAN&gt;I installed WAB 2.7 on my machine, and I created an application with only 3 layers, I added this widget, but whenever I add the shapefile .zip file, I get this message in the console and on the screen in a popup: "Generate Features&lt;/SPAN&gt; &lt;SPAN&gt;error: Unable to determine hosted server's instance URL (no hosted server configured?) ".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read something about it, but I did not quite understand why.&lt;/SPAN&gt; &lt;SPAN&gt;Is there anything about the arcgis server configuration that I need to do?&lt;/SPAN&gt; &lt;SPAN&gt;It is?&lt;/SPAN&gt; &lt;SPAN class=""&gt;Except that we are with version 10.3 of the arcgis server, and the help speaks in version 10.6.&lt;/SPAN&gt; &lt;SPAN&gt;Is there anything I can do, or will we be forced to migrate to version 10.6?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767888#M1343</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-23T18:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767889#M1344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I seen where others have mentioned this error. I have never seen it and have no problem adding shapefiles. Are you sure you are adding all the required files to the zip? have you tried other shapefiles? do the shapefiles have a prj file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767889#M1344</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-23T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767890#M1345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;Hi Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I have tried several.&lt;/SPAN&gt; &lt;SPAN&gt;All ".zip" of shapefiles contains the minimum structure required.&lt;/SPAN&gt; &lt;SPAN class=""&gt;The shapefiles import widget I downloaded here from the geonet forum imports the shapes correctly, but there I have the initial problem of this discussion, which is to include in the impression the legend of the shapefile and the crossing of the information after the drawing with the screening widget.&lt;/SPAN&gt; &lt;SPAN&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 19:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767890#M1345</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-23T19:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767891#M1346</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/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;I was able to make the Add Data Widget work.&lt;/SPAN&gt; &lt;SPAN&gt;I had to modify the following lines in the file "widgets \ AddData \ Widget.js":&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;getSharingUrl: function() &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var p = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com" rel="nofollow" target="_blank"&gt;http://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"; //portalUtils.getPortal(this.appConfig.portalUrl);&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return portalUrlUtils.getSharingUrl(p); //portalUrlUtils.getSharingUrl(p.portalUrl);&lt;BR /&gt;}, &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;The commented code is the original widget. I needed to put the fixed url of the arcgis website, because I can not understand where to configure the "sharing / rest" url of my portal. With the esri address, the widget now imports the shapefiles in ".zip" format. The shapefiles layers appear correctly in the layer list widget, and you can turn the shapefile on and off on the map.&lt;BR /&gt;&lt;BR /&gt;The problem is that even using the Add Data Widget you suggested, I'm still not able to show the layer in the map legend or the widget screening when crossing the information. Could you tell me if this behavior would be correct and if I have a bug? There is no error in the console, it just does not display the content.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Thanks again for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767891#M1346</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-23T20:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767892#M1347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Strange when I use the Add Data widget it adds the shapefile to the legend. I don't use the screening widget so I am not sure about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 23:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767892#M1347</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-23T23:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shapefiles in the print widget and the screening widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767893#M1348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I'm going to have to debug and try to find out why the shapefile layer does not appear in either the legend widget or the pdf file that the print widget generates (it shows the layer in pdf, but in the pdf caption it does not the symbology of this layer appears). The screening widget will have to check with the user how we will proceed. The user wants to add the shapefile, and to be able to check all the active layers that intersect with this shapefile, but this is not working either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 02:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/shapefiles-in-the-print-widget-and-the-screening/m-p/767893#M1348</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-24T02:52:14Z</dc:date>
    </item>
  </channel>
</rss>

