What are the collection_id, palette_id, and custom_colors parameters in a LookML dashboard?

Knowledge Drop

Last tested: Feb 13, 2020

You may be puzzled to see something like this on a LookML dashboard:

https://docs.looker.com/exploring-data/visualizing-query-results/color-collections#color_collection_ids

Essentially, in order to get your ids for your custom theme, you’ll need to hit the /themes endpoint in the API.

https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/theme#get_all_themes