I use the example code in Create a FeatureLayer from a shapefile to add zipped shapefile to my 3D scene.
But this code uses ArcGIS REST API Generate and as stated there - Generate's json output is limiyed to 4000 records.
But I need to insert shapefile with more than 4000 records...
I will greatly appreciate help how to do it.