This page refers to the
extensionparameter that is part of a view.
extensioncan also be used as part of an Explore, described on the
extension(for Explores) parameter documentation page.
extensioncan also be used as part of a LookML dashboard, described on the Dashboard parameters documentation page.
AcceptsThe value “required”
extension: required parameter flags a view as requiring extension, which means that the view cannot be used on its own. The contents and settings of the view will only be used when the view is extended using the
extends parameter in another view.
A view with
extension: required is not visible to users on its own; it is intended only to act as a starting point to be extended by other views.
extension parameter accepts only the value
required. If you don’t want to require extension for a view, leave out the
extension parameter entirely.
See Reusing code with extends for more information on using
extends for LookML objects.
looker_events view below has the
extension: required parameter, so the view itself will not be visible to users:
If we want to make use of the
looker_events view, we can create another view that extends it, like this: