You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -249,7 +249,7 @@ GENAI_CLIENT_SECRET=<same secret value used to secure Cloud Run service>
249
249
9. Commit your changes and deploy your them to production through the Project UI.
250
250
251
251
10. Reload the page and click the `Browse` dropdown menu. You should see your extension in the list.
252
-
- The extension will load the JavaScript from the `url` provided in the `application` definition. By default, this is https://localhost:8080/bundle.js. If you change the port your server runs on in the package.json, you will need to also update it in the manifest.lkml.
252
+
- The extension will load the JavaScript from the `url` provided in the `application` definition. By default, this is https://localhost:3000/dashboard_summarization.js. If you change the port your server runs on in the package.json, you will need to also update it in the manifest.lkml.
253
253
254
254
- Refreshing the extension page will bring in any new code changes from the extension template, although some changes will hot reload.
255
255
@@ -260,7 +260,7 @@ The process above requires your local development server to be running to load t
260
260
261
261
1. In your extension project directory on your development machine, build the extension by running the command `npm run build`.
262
262
2. Drag and drop the generated JavaScript file(bundle.js) contained in the `dist` directory into the Looker project interface.
263
-
3. Modify your `manifest.lkml` to use `file` instead of `url` and point it at the `bundle.js` file.
263
+
3. Modify your `manifest.lkml` to use `file` instead of `url` and point it at the `dashboard_summarization.js` file.
264
264
4.[IMPORTANT] Create a User Attribute in Looker following this naming convention `<extension_id>_genai_client_secret`. Note any dash or :: in the extension_id name will need to be replaced with an underscore. Typically the extension id will be your lookml project name where the extension lives followed by the name of the extension ie. `dashboard-summarization`. See [the docs](https://cloud.google.com/looker/docs/extension-framework-react-and-js-code-examples#user_attributes) for more details
265
265
266
266
Note that the additional JavaScript files generated during the production build process do not have to be mentioned in the manifest. These files will be loaded dynamically by the extension as and when they are needed. Note that to utilize code splitting, the Looker server must be at version 7.21 or above.
0 commit comments