The following code adds a spatially enabled dataframe to a feature service:
feature_service_item = sedf.spatial.insert_layer(feature_service = feature_service_item,service_name=new_sublayer_name)<div><div><span>However, there happens some type casting under the hood, which I do not want at the moment (e.g. Int32 will be converted to esriFieldTypeString).<div> <div><div><div><span>Is there a possibility to insert a FeatureSet as a new FeatureLayer inside a Feature Service? Like my abovementioned example for a sedf but just for fsets?</span></div></div></div></div></span></div></div>
However, there happens some type casting under the hood, which I do not want at the moment (e.g. Int32 will be converted to esriFieldTypeString).
Is there a possibility to insert a FeatureSet as a new FeatureLayer inside a Feature Service? Like my abovementioned example for a sedf but just for fsets?