Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard is not versioned and cannot be cloned #2196

Open
mgg-beca opened this issue Jan 15, 2025 · 0 comments
Open

Dashboard is not versioned and cannot be cloned #2196

mgg-beca opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@mgg-beca
Copy link

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:

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:

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.

@mgg-beca mgg-beca added the bug label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant