laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM011291
EingereichtAugust 28, 2007
Zuletzt geändertApril 2, 2025
Gilt fürNo Product Found
Gefunden in Version9.3 Daily
StatusNon-Reproducible

Zusätzliche Informationen

No Public Explanation

Workaround

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; }

Schritte zur Reproduzierung

Bug-ID: NIM011291

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln