//
Is your feature table loaded? Other feature tables used in layers probably implicitly get loaded by the layer being in the map, but the table would need to be explicitly loaded since nothing else would load it.
ft.loadStatusChanged.connect(function() { if (ft.loadStatus === Enums.LoadStatusLoaded) { console.log("loaded"); console.log(ft.canAdd()) console.log(ft.createFeature()) } }); ft.load();<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
can you just use the createFeature method? FeatureTable QML Type | ArcGIS for Developers
Os membros conectados podem publicar, acompanhar atualizações e muito mais. É novo por aqui? Cadastre-se gratuitamente.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.