laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM011291
SubmittedAugust 28, 2007
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.3 Daily
StatusNon-Reproducible

Additional Information

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

Steps to Reproduce

Bug ID: NIM011291

Software:

  • No Product Found

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