Looker Connect Training
Help Center
Documentation
Community
Cloud Certifications
hello i created a custom visualization and added a single option following the instructions from the following link ... https://github.com/looker/custom_visualizations_v2/blob/master/docs/getting_started.md i can see the option in the settings panel of the explorer .. but when i try to retrieve the options from the config object in the updateAsync method .. the option is not there please help thanks
why is the udateAsync method of my custom visualiztion being called 4 times … i would expect it to be called only once
how can i get the current user name in the create or udateAsync method of a custom visualization
Im trying to deploy an extension which uses the core extensions sdk and im getting the following error… TypeError: Cannot destructure property 'coreSDK' of '(0 , e.useContext)(...)' as it is undefined. Im using the “LookImage” code from the extensions example repo… here is the current codeimport React, { useContext, useState } from 'react'import { Button, MessageBar, Spinner, Tooltip } from '@looker/components'import { ExtensionContext2 } from '@looker/extension-sdk-react'const title = 'Look Image'const description = 'Demonstrates rendering a Look image.'const code = `const { extensionSDK } = useContext(ExtensionContext2)const looks = await coreSDK.ok(coreSDK.all_looks('id'))const rand = Math.floor(Math.random() * looks.length)const value = await coreSDK.ok( coreSDK.run_look({ look_id: looks[rand].id, result_format: 'png', }))`const codeSourceName = 'LookImage.jsx'export const LookImage = () => { const [intent, setIntent] = useState() const [message, setMessage] = useState
Hello I am trying to use react datatables with my looker extension following this tutoirial …https://www.ag-grid.com/react-data-grid/getting-started/I am able to import the datatable API… import {AgGridColumn, AgGridReact} from 'ag-grid-react';but i get an error when trying to import the stylesimport 'ag-grid-community/dist/styles/ag-grid.css'; import 'ag-grid-community/dist/styles/ag-theme-alpine.css';The error is .. ERROR in ./node_modules/ag-grid-community/dist/styles/ag-grid.css 6:72Module parse failed: Unexpected token (6:72)You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders| ****************************| */> ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {| display: block;| } @ ./src/HelloWorld.js 15:0-51 @ ./src/App.js 18:0-42 22:100-110 @ ./src/index.js 13:0-28 17:52-55 Thanks for any assistance you can provide
i uploaded a bundle.js file to my project . so now i have 3 files … Model_file.modelbundle.jsmanifest.lkml in the bundle i have some simple vanilla javascript document.body.innerHTML = document.body.innerHTML + "<div>Test Extension</div>"; when i try to view the extension from the Browse menu .. it gives me an error Cannot connect to extension and there are no javascript errors in the developer console any assistance is appreciated thanks
how can i upload my bundle.js file to looker
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.