AnsweredAssumed Answered

Popup no longer appears in 4.7

Question asked by on Apr 20, 2018
Latest reply on May 11, 2018 by di_minglei

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>' +
            return html;           

        sceneLayer.popupTemplate = template;