I am using the join_features function to created a joined feature layer, but I cannot manage to make the output a view rather than a new hosted feature layer. Is there a parameter I need to add to create a feature view ? I am able to do so with the GUI but not with the API.
Below my code for the jointed feature layer :
results = join_features(
target_layer=targetLayer,
join_layer=joinLayer,
join_operation="joinOneToOne",
attribute_relationship=[
{
"targetField": "unique_id",
"operator": "equal",
"joinField": "unique_id",
}
],
# Outputs results as a hosted feature layer.
output_name="New name",
)
Thanks.