Hi Team, we just discovered saved views in our emb...
# gooddata-ui
m
Hi Team, we just discovered saved views in our embedded app. This was a cool discovery yesterday but when we went to load our filters today, they were gone. Any idea on why that might be and how we get them to stay?
(We embed dashboards via the React SDK)
j
Saved views are personal objects. Is it possible that you opened it as a different user the next day? Are you using the latest SDK version?
m
Where are the personal objects stored? Cookies? Local storage? Our GD versions: "@gooddata/api-client-tiger": "^10.14.0", "@gooddata/sdk-backend-tiger": "^10.14.0", "@gooddata/sdk-model": "^10.14.0", "@gooddata/sdk-ui-charts": "^10.14.0", "@gooddata/sdk-ui-dashboard": "^10.14.0", "@gooddata/sdk-ui-ext": "^10.14.0", "@gooddata/sdk-ui-geo": "^10.14.0", "@gooddata/sdk-ui-pivot": "^10.14.0",
j
Hello, are you using Visual Studio Code for management of your analytics?
m
We use the layout API:
Copy code
def upload_repo_to_workspace(self, workspace_id):
        with open(self._workspace_path(workspace_id), "r") as f:
            self.sdk.client.layout_api.put_workspace_layout(
                workspace_id, json.load(f))
j
Hello, we have released bugfix that should remove this behaviour of removal saved views after update of workspace. Please check and let me know if issue still persist.
m
Hey Jan, which version?
j
the bug was resolved on BE in API on our side, the SDK version stays the same.. could you just re-try same scenario as you have been trying first time and see, whether issue still persist or was solved?
m
Views persisted overnight - looks like it's fixed. Thanks!
👍 1
j
Thats great, thank you for confirmation!