AnsweredAssumed Answered

Popup no longer appears in 4.7

Question asked by Cyrus.Blankinship@cbre.com on Apr 20, 2018
Latest reply on May 28, 2018 by RNicola-esristaff

I'm upgrading an app from 4.5 to 4.7 but the popups no longer appear for their associated scene layer. Have there been any changes around assigning the PopupTemplate? Sample code has been shortened for clarity

 

        template = new PopupTemplate({
            content: setContentInfo
        });

        function setContentInfo(feature){

            var html = '<div class="cbre-popup">' +
                '<h2>' + feature.graphic.attributes.Tenant_Name + '</h2>' +
                '</div>';
         
            return html;           
        }

        sceneLayer.popupTemplate = template;       

Outcomes