Describe the bug
We have run into cases where the clone_items() operation with copy_data = False stills copies data from the source Portal to the target Portal.
To Reproduce
This happened for services published as dynamic map services from ArcMap that had feature access enabled. for the same Map Service there is a Feature Service end point. We wanted to copy a reference to the source feature service using clone_item(), but then the result was a hosted feature service in the target portal with the data copied. parameter copy_data was set to False.
Expected behavior
When copy_data = False, a reference to the source Arcgis Server is put in the cloned item in the target portal and no data is copied.
Platform (please complete the following information):
@mhogeweg do you know of it happening with any other types of items besides ArcMap dynamic map services? And do you have an example service where this behavior is occuring?
Describe the bug We have run into cases where the
clone_items()
operation withcopy_data = False
stills copies data from the source Portal to the target Portal.To Reproduce This happened for services published as dynamic map services from ArcMap that had feature access enabled. for the same Map Service there is a Feature Service end point. We wanted to copy a reference to the source feature service using
clone_item()
, but then the result was a hosted feature service in the target portal with the data copied. parametercopy_data
was set toFalse
.Expected behavior When
copy_data = False
, a reference to the source Arcgis Server is put in the cloned item in the target portal and no data is copied.Platform (please complete the following information):