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

Use the built-in functionality for Deepcopying dashboards (v.45+) #43

Open
vvaezian opened this issue Mar 3, 2023 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@vvaezian
Copy link
Owner

vvaezian commented Mar 3, 2023

Deepcopying dashboards is supported natively in v.45+.

@vvaezian vvaezian self-assigned this Mar 3, 2023
@vvaezian vvaezian added the enhancement New feature or request label Mar 3, 2023
@yasserN
Copy link

yasserN commented Aug 27, 2024

Hi. What about deepcopying collections? It does not work properly in v0.47.6
destination_metabase.copy_collection(source_collection_id=201,destination_parent_collection_id=2,deepcopy_dashboards=True,verbose=True)
Log:
source_dashboard_card_IDs = [ i['card_id'] for i in source_dashboard['dashcards'] if i['card_id'] is not None ] KeyError: 'dashcards'

@vvaezian
Copy link
Owner Author

In v48 Metabase changed "ordered_cards" to "dashcards". We made the change in the package in version 0.3.2. So you need to either upgrade your Metabase, or downgrade your installed package version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants