View the original community article here
Last tested: Apr 22, 2020
For instances >= 6.24, Viz will be served from the project. This project will contain:
- minified dist file (.js)
- source (.js, .jsx, .ts)
- configuration files (package.json, yarn.lock, .babelrc, webpack.config.js)
- LICENSE
- README
- manifest.lkml
- marketplace.json
You can find these repos by searching for the pattern viz-full_name-marketplace
(ex: viz-multiple_value-marketplace
or viz-spider-marketplace
) in the looker
Github org.
The manifest file contains the LookML visualization object which adds the viz to the instance:
project_name: "viz-packed_bubble-marketplace"
constant: VIS_LABEL {
value: "Packed Bubble"
export: override_optional
}
constant: VIS_ID {
value: "packed_bubble-marketplace"
export: override_optional
}
visualization: {
id: "@{VIS_ID}"
file: "packed_bubble.js"
label: "@{VIS_LABEL}"
}
- A project name is defined.
- Override-optional constants are defined. The user will have an opportunity to overwrite these in the installer prompt.
- The visualization object points to the dist file using the
file:
parameter. You can also use aurl:
parameter to point to a CDN or dev server.
This content is subject to limited support.