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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.