Looking at this example to move content from AGOL to my Portal.
https://developers.arcgis.com/python/latest/guide/cloning-content/
Have a question...
1. If I clone a Dashboard using the above, do I need to define everything involved (Feature Layer, Web Map and Dashboard) or can I simply define the Dashboard and it will move all 3?
2. I am confused on the coding ...
# Is this refering to my username and password?
# like this
# gis = GIS("https://xyzx/portal", "username", "password")
source = GIS(profile="your_online_admin_profile")
# I am really confused on the below "api_data_owner" and "cloning_guide"
# what is that refering too?
cloned_flyr = target.content.clone_items(items=[hosted_flyr],
owner="api_data_owner",
folder="cloning_guide")