AnsweredAssumed Answered

How can I publish a registered referenced featureset with Python API for Portal

Question asked by ruud.kampman_stedin on Apr 6, 2018

I am using Python API 1.4 with ArcGIS Portal 10.6

 

I am trying to publish a hosted featureset to Portal (<class 'arcgis.features.feature.FeatureSet'>).

 

The proces starts with quering a FeatureLayer (referenced: Data is in Oracle with an SDE registered connection) from the Portal, which results in a featureset. I want to create a referenced Feature Layer from this featureset and I do not know how to do this. I have found the way to upload a file and publish this, which results in a hosted feature layer, but I cannot find how do this with a featureset. 

 

So my question is how can I publish a featureset to the Portal, while keeping it referenced?

 

I have been stuck for really long, so any input is very welcome!

Outcomes