Select to view content in your preferred language

Missing required popupTemplate or popupEnabled in 4.29

254
0
05-31-2024 10:45 AM
GregoryBologna
Occasional Contributor II

Looking to find out what is going on with 4.29 popups. I'm getting this error when displaying a popup and only when zooming in or out of 2d map once the popup was displayed the first time. It does not happen prior to showing the popup, nor in version 4.28. The error info is console logged from https://js.arcgis.com/4.29/

This happens only in version 4.29. I am prevented from moving to 4.29.

I am also using https://js.arcgis.com/calcite-components/2.9.0, and have experienced no differences in lower versions while using 4.29. I tested up to 2.9.0, but get this missing error with any calcite 2x version.

The error details inform that the popup is 'Missing required popupTemplate or popupEnabled', but I do add a popupTemplate to FeatureLayer

feature.popupTemplate = popupTemplate;

Popup is just fine, except get the error when zooming.

GregoryBologna_0-1717177578927.png

 

https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heads-up-esri-loader-is-deprecate...

  • Removal of FetchPopupFeaturesResult members in the Popup class. The FetchPopupFeaturesResult type definition in the Popup class had the following properties removed from the API at this release: FetchPopupFeaturesResult.clientOnlyGraphicsFetchPopupFeaturesResult.promisesPerLayerViewFetchPopupFeaturesPromisesPerLayerView 
[esri.widgets.Popup.PopupViewModel] f {name: 'imageryTileLayerView:fetchPopupFeatures', details: {…}, message: 'Missing required popupTemplate or popupEnabled'}
(index):132
 
ConsoleWriter @ js.arcgis.com/4.29/(index):132:224
 

GregoryBologna_0-1717170652563.png

 

0 Kudos
0 Replies