laptop and a wrench

Bogue

TocNodeContent.getImageUrl() returns null even TocNode.setAllExpanded is set to -1.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM011291
EnvoiAugust 28, 2007
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.3 Daily
StatutNon-Reproducible

Informations supplémentaires

No Public Explanation

Solution de contournement

After the toc expanded level is set to -1 (if is called programmatically in this case), all toc functionalities is needed to bereinitalized. The method webToc.setExpandLevel() does not generate the legend symbol.see the below modified calling method.//########################################### public void expandTOC(){ WebMap webMap = webContext.getWebMap(); WebContext webContext = webMap.getWebContext(); WebToc webToc = webContext.getWebToc(); webToc.setExpandLevel(-1); java.util.List<TocFunctionality> lc = webToc.getTocFunctionalities(); for (int i = 0; i < lc.size(); i++) { webToc.init(lc.get(i)); } findTocNode(webToc.getRootNodes()); return; }

Étapes pour reproduire

ID de bogue: NIM011291

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement