//
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
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.