In my analytical designer, the groups in the catal...
# gooddata-cloud
j
In my analytical designer, the groups in the catalog are expanded by default. How can I get them to be collapsed by default? I found some documentation about Default folder state and ADCatalogGroupsExpanded here: https://help.gooddata.com/doc/growth/en/dashboards-and-insights/analytical-designer/work-with-metrics/data-catalog-in-analytical-designer/ And that leads to here: https://help.gooddata.com/doc/growth/en/workspace-and-user-administration/administrat[…]ce-objects/configure-various-features-via-platform-settings/ I tried to visit gray page
Copy code
https://{<http://your.domain.com|your.domain.com>}/gdc/projects/{workspace_id}/config/
for a particular workspace but I get a 404 error. Since that was a deadend I tried following this which led me to here: https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/api-reference/#tag/hierarchical-configuration But I don't think I am on enterprise. I've looked through the api reference and I don't see any obvious ways to change the setting..
y
Hi Jeremy, thanks for reaching out, happy to help. I noted that the documentation you attached is for our Platform product. After running some checks I noted that you are currently using Gooddata Cloud services, therefore the platform documentation would not be of great help in this case. Secondly, when you mention “groups in the catalog” does this mean Data catalogs in the analytical designer? If yes, you can find some detailed information about reviewing and organizing data catalogs on Gooddata Cloud in our documentation here. If not, may you please share some screenshots of what it currently looks like and what you would prefer, to allow us assist you further. Kindly let us know if this helps.
j
We would like for these to be collapsed by default like so:
But they are currently defaulting to fully expanded.
In the analytical designer. And we would like this to be the case for all our workspaces.
.. In that latest doc it doesn't look like it has any information for how to default to collapsed. Do you know if that setting is supported for cloud?
y
Hi Jeremy, I will pass this question to our internal product team to find out if this is possible. Feedback will be shared with you as soon as possible. Thanks for your patience
j
Thanks!
y
Hi Jeremy, Thanks for your patience. I have some feedback regarding the data catalogue question that was asked earlier. It is possible to change the default setup of your data catalogue in the analytical designer to appear entirely collapsed. This can be done via API calls.This property can be set on workspace level, user level or Organization level. Please refer to the parameters shared below: Creation of property on workspace level:
POST: {{hostname}}/api/v1/entities/workspaces/{{workspaceId}}/workspaceSettings
Copy code
{
  "data": {
    "type": "workspaceSetting",
    "id": "ADCatalogGroupsExpanded",
    "attributes": {
      "content": {
        "value": false
      },
      "type": "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE"
    }
  }
}
Organization level:
{{hostname}}/api/v1/entities/organizationSettings
Copy code
{
  "data": {
    "type": "organizationSetting",
    "id": "ADCatalogGroupsExpanded",
    "attributes": {
      "content": {
        "value": false
      },
      "type": "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE"
    }
  }
}
User level
{{hostname}}/api/v1/entities/users/{{userId}}/userSettings
Copy code
{
  "data": {
    "type": "userSetting",
    "id": "ADCatalogGroupsExpanded",
    "attributes": {
      "content": {
        "value": false
      },
      "type": "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE"
    }
  }
}
To update the existing property, append ID of the property to the endpoint URL, and send the request as PATCH, for example for workspace:{
{hostname}}/api/v1/entities/workspaces/{{workspaceId}}/workspaceSettings/ADCatalogGroupsExpanded
Let me know if this works or if any further assistance is needed.
j
Amazing!! Thank you so much, we will give it a shot.