-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cannot move dashboard to a new space #31
Comments
I would like to add more information to this.
Here's the error that i get if I am trying to import an existing dashboard
|
@pioneer903, to clarify, --force works (when it does) only when re-importing a dashboard to the same space, the issue I have to when re-importing to a new space, it detects that this dashboard already exists in a different space and it creates a new one instead. |
Ok, I see. I must have misread your comment and thought it is related to mine. Thank you for clarifying. I will open another issue. |
You can refer to a dashboard with the slug instead of the dashboard_id. This value should also remain consistent across instances of Looker as well, where the id value will change if you copy a dashboard from one Looker instance to another. If you want to move a dashboard, you can currently do the following. I'm going to create a new issue to implement a |
Here is the use case
I initially imported dashboard x from instance A to instance B under space y
Now I need to import the same dashboard again from A to B and at the same time move it to a new space z (or move it from space y to z then import again)
The only option is to do another import to space z but that gives me:
slug <slug id> already used for dashboard <dashboard x's title> in space y dashboard will be imported with new slug
so now I have two copies of the dashboard, I'd like it to have the same id after being moved to the new space so users can still reference it with the same url. Exactly the same way you'd move dashboards between spaces from the UI.
Did I miss a way to do that with gazer or do we perhaps need a
gzr mv
command that would move a dashboard between two spaces on the same instance?The text was updated successfully, but these errors were encountered: