//
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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.