<?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: WebScene popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585199#M54684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears i cant log the report. when i try and submit support request form i get the following error "&lt;SPAN style="color: rgba(0, 0, 0, 0.74902); font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15.9375px; background-color: #d2e9f9;"&gt;You do not have access to request a support case."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 17:27:07 GMT</pubDate>
    <dc:creator>MeganWirth</dc:creator>
    <dc:date>2016-03-29T17:27:07Z</dc:date>
    <item>
      <title>WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585196#M54681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following the example &lt;A href="https://developers.arcgis.com/javascript/beta/sample-code/webscene-slides/index.html"&gt;Work with slides in a WebScene&lt;/A&gt; I was able to successfully add my own scene with slides. but need help configuring&amp;nbsp; the popup. The point data i am using only has a couple fields i.e. x, y, and location. The popup appears to include the location as the title but does not display anything else. would appreciate any help with this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585196#M54681</guid>
      <dc:creator>MeganWirth</dc:creator>
      <dc:date>2016-03-29T14:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585197#M54682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm. This doesn't look right. I can see the popupTemplate in the SceneViewer but as you said, it doesn't display correctly in the app. Could you file a bug report for this so we can take some time to look at what's going on in this case behind the scenes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time, you can do the following work around with&amp;nbsp; the API. Since the view is a promise and doesn't resolve until the scene's resources have loaded, you can chain another function and set a custom popup template on the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.then(function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var content = "{*}";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var title = "Whatever you want";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pTemplate = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content: content,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: title
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lyrs = view.map.layers;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var droneLyr = lyrs.find(function(lyr){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lyr.id === "3f14aa6ac0a94ebeb7794744b1578cb1";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; droneLyr.popupTemplate = pTemplate;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a live view at the updated app on jsbin: &lt;A href="https://jsbin.com/qiluyereja/edit?html,output" title="https://jsbin.com/qiluyereja/edit?html,output" rel="nofollow noopener noreferrer" target="_blank"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585197#M54682</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2021-12-12T01:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585198#M54683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristian, thanks for the fast reply and work around its appreciated!! I will send the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585198#M54683</guid>
      <dc:creator>MeganWirth</dc:creator>
      <dc:date>2016-03-29T17:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585199#M54684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears i cant log the report. when i try and submit support request form i get the following error "&lt;SPAN style="color: rgba(0, 0, 0, 0.74902); font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15.9375px; background-color: #d2e9f9;"&gt;You do not have access to request a support case."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585199#M54684</guid>
      <dc:creator>MeganWirth</dc:creator>
      <dc:date>2016-03-29T17:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585200#M54685</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/41155"&gt;Kristian Ekenes&lt;/A&gt;​ if i added a hyperlink field to the drone layer how would I format it to behave like a hyperlink in the code you provided? &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 13:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585200#M54685</guid>
      <dc:creator>MeganWirth</dc:creator>
      <dc:date>2016-03-30T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: WebScene popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585201#M54686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the issue with not having access to request a support case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the hyperlink should be created automatically when displaying the attributes in a table as this app does. It's not working in beta3, but it has already been implemented on our end and you'll see the change reflected when we deploy 4.0 final.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 17:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webscene-popup/m-p/585201#M54686</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-03-30T17:50:42Z</dc:date>
    </item>
  </channel>
</rss>

