<?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 How can I enable popup in SceneView with a WebScene have a portalItem? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/723806#M67198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a Web Scene portal item&amp;nbsp;and add a feature layer. I also enable the layer's popups property as below picture.&lt;/P&gt;&lt;P&gt;The popup is not working in below javascript API code. How can I do for let the popup working as protal server Webscene view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="506503" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/506503_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script src="https://js.arcgis.com/4.16/"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
 require(["esri/views/SceneView", "esri/WebScene","esri/config"], function (
 SceneView, WebScene, esriConfig) {
 var titleDiv = document.getElementById("titleDiv");
 esriConfig.portalUrl="https://cit183x.xxx.edu.tw/portal";
 
 var scene = new WebScene({
&amp;nbsp;portalItem: { id: "540xxx6d5fd432fa4ba3dd64eca801d" }
 });
 
 var view = new SceneView({
 map: scene,
 container: "viewDiv"
 });

 });
 &amp;lt;/script&amp;gt;
 &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="position: absolute; left: 517px; top: 77px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:51:15 GMT</pubDate>
    <dc:creator>重溪陳</dc:creator>
    <dc:date>2021-12-12T16:51:15Z</dc:date>
    <item>
      <title>How can I enable popup in SceneView with a WebScene have a portalItem?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/723806#M67198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a Web Scene portal item&amp;nbsp;and add a feature layer. I also enable the layer's popups property as below picture.&lt;/P&gt;&lt;P&gt;The popup is not working in below javascript API code. How can I do for let the popup working as protal server Webscene view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="506503" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/506503_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script src="https://js.arcgis.com/4.16/"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
 require(["esri/views/SceneView", "esri/WebScene","esri/config"], function (
 SceneView, WebScene, esriConfig) {
 var titleDiv = document.getElementById("titleDiv");
 esriConfig.portalUrl="https://cit183x.xxx.edu.tw/portal";
 
 var scene = new WebScene({
&amp;nbsp;portalItem: { id: "540xxx6d5fd432fa4ba3dd64eca801d" }
 });
 
 var view = new SceneView({
 map: scene,
 container: "viewDiv"
 });

 });
 &amp;lt;/script&amp;gt;
 &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="position: absolute; left: 517px; top: 77px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/723806#M67198</guid>
      <dc:creator>重溪陳</dc:creator>
      <dc:date>2021-12-12T16:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable popup in SceneView with a WebScene have a portalItem?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/1099140#M74686</link>
      <description>&lt;P&gt;I'm having the same problem. Is it possible for a WebScene based on a portalItem to show popups? They're definitely enabled on the feature layers, and I can get them to pop up when I open the WebScene in Scene Viewer online.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 21:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/1099140#M74686</guid>
      <dc:creator>BrentGrossman</dc:creator>
      <dc:date>2021-09-16T21:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable popup in SceneView with a WebScene have a portalItem?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/1218484#M78899</link>
      <description>&lt;P&gt;maybe a bit late. I had the same issue but fixed by set the following to sceneView object&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sceneView.popup.defaultPopupTemplateEnabled = &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 01:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-enable-popup-in-sceneview-with-a/m-p/1218484#M78899</guid>
      <dc:creator>JackFanZhang</dc:creator>
      <dc:date>2022-10-04T01:51:22Z</dc:date>
    </item>
  </channel>
</rss>

