Working with HTML parameters
Compared to links, HTML
parameters in LookML provide even more possibilities for customized drilling and linking. Here are some examples of how an HTML
parameter can be used:
- Creating links to other Looks or external websites
- Adding images and conditional formatting to visualizations
- Creating interactive elements
The HTML
parameter is a powerful tool that can be used to create more dynamic and engaging dashboards. However, it is important to note that the HTML
parameter is subject to HTML sanitization, which means that certain HTML tags and attributes are not allowed. This is to prevent users from injecting malicious code into your Looker instance.
Getting ready
In this section, we will work in multiple environments: LookML to create the HTML
parameter(s), Explore to build a Look with the dimension or measure that contains this HTML
parameter, and a dashboard to add the Look into it and see how these parameters work in dashboards...