<?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: Popup.open() function used to highlight feature have an unstable error  @ ArcGIS for JavaScript 4.20 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1115197#M75205</link>
    <description>&lt;P&gt;this is awesome, try it out!&amp;nbsp;&lt;A href="https://word-unscrambler.io" target="_blank"&gt;https://word-unscrambler.io&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 09:00:15 GMT</pubDate>
    <dc:creator>kukiyang</dc:creator>
    <dc:date>2021-11-09T09:00:15Z</dc:date>
    <item>
      <title>Popup.open() function used to highlight feature have an unstable error  @ ArcGIS for JavaScript 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1091282#M74378</link>
      <description>&lt;P&gt;My Server is ArcGIS Server 10.2，I published the mapping service using ArcMap 10.2&lt;SPAN&gt;&amp;nbsp;, and the layers data from database (SQL Server 2019) directly.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;When I don't register the database, publishing maps automatically copies the data from the database to the server ,&amp;nbsp;&amp;nbsp;a new unique field called OBJECTID is automatically added to the layer properties table ,&amp;nbsp; Popup is right now.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;but, when I register the database to ArcGIS Server,&amp;nbsp; I&amp;nbsp; call the&amp;nbsp; popup.open()&amp;nbsp; function to show a feature's property,&amp;nbsp; some unfixed errors have occurred.&amp;nbsp; &amp;nbsp;I noticed that the new unique field added by ArcGIS changed from OBJECTID to ESRI_OID,&amp;nbsp; I modified the codes, but, error still.&amp;nbsp; The error appeared is that when I popup a feature, the highlight geometry is part of the target feature or sometime is other feature. something like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ForyondChao_2-1629734883192.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21371i542912E0DBDFD3EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ForyondChao_2-1629734883192.png" alt="ForyondChao_2-1629734883192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but now the geometry obtained from server is correct, there are 6 points for the geometry.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ForyondChao_3-1629734985248.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21372i923C92F7C9529B0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ForyondChao_3-1629734985248.png" alt="ForyondChao_3-1629734985248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is my code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ForyondChao_4-1629735164174.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21373i04439CDBCB2A9096/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ForyondChao_4-1629735164174.png" alt="ForyondChao_4-1629735164174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how to fix this bug&amp;nbsp; or&amp;nbsp; possible reasons? Looking forward to your reply, Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 16:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1091282#M74378</guid>
      <dc:creator>ForyondChao</dc:creator>
      <dc:date>2021-08-23T16:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Popup.open() function used to highlight feature have an unstable error  @ ArcGIS for JavaScript 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1092119#M74404</link>
      <description>&lt;P&gt;Hi&amp;nbsp; GarryGoldberg!&lt;/P&gt;&lt;P&gt;How do you to solve the problem ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 07:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1092119#M74404</guid>
      <dc:creator>ForyondChao</dc:creator>
      <dc:date>2021-08-25T07:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Popup.open() function used to highlight feature have an unstable error  @ ArcGIS for JavaScript 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1096273#M74592</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I&amp;nbsp;used&amp;nbsp;a&amp;nbsp;simple&amp;nbsp;method&amp;nbsp;to&amp;nbsp;get&amp;nbsp;around&amp;nbsp;this&amp;nbsp;problem&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;1.&amp;nbsp;Turn&amp;nbsp;popUp's&amp;nbsp;built-in&amp;nbsp;highlighting&amp;nbsp;off.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;const&amp;nbsp;view&amp;nbsp;=&amp;nbsp;new&amp;nbsp;MapView({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;popup:{highlightEnabled:false}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;})&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;2.&amp;nbsp;Use&amp;nbsp;the&amp;nbsp;default&amp;nbsp;graphic&amp;nbsp;in&amp;nbsp;the&amp;nbsp;View&amp;nbsp;to&amp;nbsp;add&amp;nbsp;color&amp;nbsp;for&amp;nbsp;geometry&amp;nbsp;every&amp;nbsp;time&amp;nbsp;it&amp;nbsp;is&amp;nbsp;selected.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;sym=&amp;nbsp;new&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;type:"simple-fill",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;color:[0,255,255,0.5],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;style:"solid",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;outline:{color:[255,255,0],&amp;nbsp;width:1,&amp;nbsp;style:"solid"}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;view.graphics.add(new&amp;nbsp;Graphic({geometry:geometry,&amp;nbsp;symbol:sym}));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Now&amp;nbsp;I&amp;nbsp;can&amp;nbsp;achieve&amp;nbsp;my&amp;nbsp;goal,&amp;nbsp;thanks&amp;nbsp;to&amp;nbsp;the&amp;nbsp;forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Sep 2021 09:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1096273#M74592</guid>
      <dc:creator>ForyondChao</dc:creator>
      <dc:date>2021-09-08T09:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Popup.open() function used to highlight feature have an unstable error  @ ArcGIS for JavaScript 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1115197#M75205</link>
      <description>&lt;P&gt;this is awesome, try it out!&amp;nbsp;&lt;A href="https://word-unscrambler.io" target="_blank"&gt;https://word-unscrambler.io&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 09:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-open-function-used-to-highlight-feature-have/m-p/1115197#M75205</guid>
      <dc:creator>kukiyang</dc:creator>
      <dc:date>2021-11-09T09:00:15Z</dc:date>
    </item>
  </channel>
</rss>

