Is there a way to customize the Looker main web UI to show a text value that is derived at run time?
I’m looking to display a text label next to the white label logo, and have that text label value derived at run time from user variable values.
Hi ihayes,
are you looking for whitelabeling?
I understand the white labelling capabilities, and they are being used, but there does seem to be way to add a run time derived custom display label into the Looker web UI that would allow me to display a context message about what the user is viewing
This is a hugely missed feature in Looker but...
A long while ago there was a license feature that is called “Custom Messaging” and would allow you to create messages in a banner across top of browser such as “dataset X is currently incorrect”, “database is currently undergoing maintenance”, we never ended up using it and I dont think it works anymore but this is a copy paste from the config page:
[all pages custom message url]
This URL will be in a <script>
tag on every page on Looker.
The following URL parameters will be added to the url:
callback
the name of the function to be called in the JSONP reply.See below for what can be passed to the callback function.
[explore custom message url]
This URL will be in a <script>
tag on every explore page on Looker.
It will be loaded after every query is run.
The following URL parameters will be added to the url:
callback
the name of the function to be called in the JSONP reply.model
the name of the Looker model.view
the name of the model’s view.connection
the name of the database connection being used.dimensions
the dimension field names in the query.measures
the measure field names in the query.pivots
the pivoted field names in the query.sql
the sql run on the server. optionalSee below for what can be passed to the callback function.
The URLs on this page are expected to return JSONP, the reply should call a function and pass in an array of messages. The function name to call will be passed as thecallback
url parameter.
Each of the messages passed in will be a javascript object with amessage
property containing the HTML message to display.
e.g.http://example.com/messages?callback=sendMessages
Could returnsendMessages([{message: "System working"}, {message: "All systems go"}])
Each message can have the following properties. Onlymessage
is required.
message
The message to display in HTML.level
What is the severity of the message. One of success
, notice
, warning
or error
.