laptop and a wrench

Bug

The 'setTitle()' and 'setContent()' methods of the PopupTemplate class fail to set the title and content when used inside the featureReduction property of the feature layer.

Last Published: July 5, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000131764
SubmittedJune 22, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.32
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

Setting title and content for cluster's popupTemplate as below is not supported: popupTemplate.setTitle("Changed Title"); popupTemplate.setContent("Changed Content");

Workaround

Custom title and content has to be set in the constructor as below:

var popupTemplate = new PopupTemplate({

 title: "Initial Title",

 description: "Initial Content"

});

Steps to Reproduce

Bug ID: BUG-000131764

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options