Initialize FeatureTable and add feature to new table

855
1
03-21-2017 09:13 AM
SidharthPrem
New Contributor

I'm trying to create a new empty featuretable and migrate some data from another featuretable to it by using addfeature. However, I get a null pointer exception for this new table. Is there any way to initialize an empty featuretable that is not null?

0 Kudos
1 Reply
EricBader
Occasional Contributor III

Your empty feature table schema must come from somewhere first, a feature service with editing operations enabled from Online or Enterprise for example. I assume you're starting with an existing schema from somewhere? You cannot create a feature table from scratch using the Runtime API. If you can describe more of what you need to do, for context, that might help. Are you using Local Server by chance? Thanks!

0 Kudos