<?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: Add Data Widget Required &amp;quot;.prj&amp;quot; file and missing file message in Portuguese language of Brazil in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793296#M4349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can limit the file types that the add data widget allows (as you were asking about in the other thread) though.&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;widgets\AddData\search\AddFromFilePane.js just remove the unwanted type from the&amp;nbsp;SHAPETYPE_ICONS object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2018 17:50:22 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2018-04-25T17:50:22Z</dc:date>
    <item>
      <title>Add Data Widget Required ".prj" file and missing file message in Portuguese language of Brazil</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793293#M4346</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;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I need to customize the "Add Data widget" so that the ".prj" file is required, in addition to ".dbf", ".shp" and ".shx".&lt;/SPAN&gt; &lt;SPAN&gt;The widget already displays a message when one of these last three files is missing from the ".zip" file.&lt;/SPAN&gt; &lt;SPAN class=""&gt;I can not find where I can make this customization, so I can not display the message to the user in the Portuguese language of Brazil instead of English.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 14:00:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793293#M4346</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-25T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Required ".prj" file and missing file message in Portuguese language of Brazil</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793294#M4347</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&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Momentarily, the solution I found to translate the missing file error message into English was to use a replace, as I did not find this information in any language file in the application.&lt;/SPAN&gt; &lt;SPAN class=""&gt;Below is the code changed in the file "widgets \ AddData \ search \ AddFromFilePane.js", at line 410, as follows:&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;message: error.message.replace("Invalid Shapefile", "Não será possível importar o shapefile").replace("missing dbf file", "arquivo dbf ausente ou inválido").replace("missing shp file", "arquivo shp ausente ou inválido").replace("missing shx file", "arquivo shx ausente ou inválido")&amp;nbsp; //error.message&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="" dir="ltr"&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;I'm still trying to figure out how to force verification of the existence of the ".prj" file inside the ".zip" file.&lt;/SPAN&gt; &lt;SPAN class=""&gt;If anyone can help, I appreciate it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" dir="ltr"&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" dir="ltr"&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 16:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793294#M4347</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-25T16:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Required ".prj" file and missing file message in Portuguese language of Brazil</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793295#M4348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Gilberto,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; You will not be able to add that requirement as what sets the requirements and returns the errors is your Portals sharing/rest/content/features web service.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793295#M4348</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-25T17:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Required ".prj" file and missing file message in Portuguese language of Brazil</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793296#M4349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can limit the file types that the add data widget allows (as you were asking about in the other thread) though.&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;widgets\AddData\search\AddFromFilePane.js just remove the unwanted type from the&amp;nbsp;SHAPETYPE_ICONS object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793296#M4349</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-25T17:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Required ".prj" file and missing file message in Portuguese language of Brazil</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793297#M4350</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;Hello Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your return.&lt;/SPAN&gt; &lt;SPAN&gt;Actually I was debugging, and I realized that I can not even include ".prj" as required, because in the code I saw the share service that performs this task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for limiting the types of files to import, I'd already done that, just like you mentioned.&lt;/SPAN&gt; &lt;SPAN&gt;Thanks a lot for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Gilberto.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-required-quot-prj-quot-file-and/m-p/793297#M4350</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2018-04-25T17:55:52Z</dc:date>
    </item>
  </channel>
</rss>

