<?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: How to automatically load popup when layer loads? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1163851#M76999</link>
    <description>&lt;P&gt;You can use the popup's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#open" target="_self"&gt;open&lt;/A&gt; method by passing in the feature you want to highlight.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.popup.open({
    features: [pointGraphic],
    location: pointGraphic.geometry
});&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 13 Apr 2022 12:47:37 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2022-04-13T12:47:37Z</dc:date>
    <item>
      <title>How to automatically load popup when layer loads?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1163762#M76996</link>
      <description>&lt;P&gt;When we load a feature layer on map, user needs to click on some graphic of that feature to get it highlighted and open the feature. How can we pass the particular object id to that layer so that the graphic automatically gets highlighted as soon as the feature loads, without user interaction?&lt;/P&gt;&lt;P&gt;Can someone please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 07:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1163762#M76996</guid>
      <dc:creator>YogeshSwami</dc:creator>
      <dc:date>2022-04-13T07:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load popup when layer loads?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1163851#M76999</link>
      <description>&lt;P&gt;You can use the popup's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#open" target="_self"&gt;open&lt;/A&gt; method by passing in the feature you want to highlight.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.popup.open({
    features: [pointGraphic],
    location: pointGraphic.geometry
});&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Apr 2022 12:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1163851#M76999</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2022-04-13T12:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load popup when layer loads?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1164297#M77012</link>
      <description>&lt;P&gt;Actually this is my feature I am retrieving:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YogeshSwami_0-1649922800944.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38876i7027578988A31E84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YogeshSwami_0-1649922800944.png" alt="YogeshSwami_0-1649922800944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then when I try this:&lt;/P&gt;&lt;P&gt;view.popup.open({&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; features:feature,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; location:feature.geometry&lt;/P&gt;&lt;P&gt;})&lt;/P&gt;&lt;P&gt;I am getting this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YogeshSwami_1-1649922942276.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38877i9CBFF29197FD1515/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YogeshSwami_1-1649922942276.png" alt="YogeshSwami_1-1649922942276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help me with this.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 07:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1164297#M77012</guid>
      <dc:creator>YogeshSwami</dc:creator>
      <dc:date>2022-04-14T07:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load popup when layer loads?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1164305#M77014</link>
      <description>&lt;P&gt;you need here to pass "centroid" to the location property&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;view.popup.open({

    features:feature,

    location:feature.geometry.centroid

})&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-automatically-load-popup-when-layer-loads/m-p/1164305#M77014</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2022-04-14T08:20:06Z</dc:date>
    </item>
  </channel>
</rss>

