//
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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.