Hello,
I am trying to append an ArcGIS Online layer to an ArcGIS Enterprise layer using a Jupyter Notebook within ArcGIS Pro but I'm faced with the error in the heading.
my code is as follows:
# Get ArcGIS Online Grouped Feature Layer
gis1 = GIS(agol_url, agol_name, agol_pass)
agol_item = gis1.content.get(agol_item_id)
agollyr = agol_item.layers[0]
#Get ArcGIS Enterprise Feature Layer
gis = GIS(ent_url, user_name, password)
group_item = gis.content.get(group_item_id)
grouplyr = group_item.layers
arcpy.env.overwriteOutput = False
ArcGISOnlineLayer = agollyr
ArcGISEnterpriseLayer1 = grouplyr
# Process: Append (Append)
ArcGISEnterpriseLayer = arcpy.Append_management(inputs=[ArcGISOnlineLayer], target=ArcGISEnterpriseLayer1, schema_type="TEST", field_mapping="", subtype="", expression="")
We do not have geoanalytics server hence why I'm doing this work around, very new to python and have hit a brick wall!