Esri / Esri/arcgis-python-api

Dashboard is not versioned and cannot be cloned

Offen
#2,196 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
1.2k
Ø Merge
2 Std. 40 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**Describe the bug**
Trying to clone a dashboard. Returns an error message: Dashboard is not versioned and cannot be cloned. What does this mean? How can a dashboard be versioned?

**To Reproduce**
Steps to reproduce the behavior:
```python
for item in items_to_clone:
if item.type == 'Web Scene' or item.type == 'Web Experience' or item.type == 'Dashboard':
print(f'Cloning {item.id}: {item.type}: {item.title}')
try:
new_items = target.content.clone_items(items=[item], copy_data=True)
except Exception as e:
print(e)
for new_item in new_items:
print(f'{new_item.id}: {new_item.type}: {new_item.title}')
else:
pass
```
error:
```python
Dashboard is not versioned and cannot be cloned
```
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Expected behavior**
Dashboards should clone

**Platform (please complete the following information):**
- OS: Windows
- Browser: Chrome
- Python API Version: 2.4 (ArcGIS Online)

**Additional context**
Add any other context about the problem here, attachments etc.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.