laptop and a wrench

Error

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

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM011291
EnviadoAugust 28, 2007
Última modificaciónApril 2, 2025
Relacionado conNo Product Found
Versión encontrada9.3 Daily
EstadoNon-Reproducible

Información adicional

No Public Explanation

Solución alternativa

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

Pasos para reproducir

ID del error: NIM011291

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga