I did something similar to expand children. If you have one child then ask it for the parent. Then ask the parent what other children it has. Like this toc.dataProvider.source.children.layerInfo.name
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.