Odniesienie do pliku manifestu wizualizacji utworzonej przez społeczność
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Plik manifestu zawiera informacje o wizualizacji i wskazuje
lokalizację zasobów wizualizacji. Powinien mieć nazwę manifest.json i
znajduje się na najwyższym poziomie folderu używanego jako Component ID.
O ile nie wskazano inaczej, należy zdefiniować następujące pola:
Nazwa pola
Typ
Opis
name
string
Nazwa pakietu wizualizacji.
organization
string
Nazwa organizacji lub dewelopera.
description
string
Opis pakietu wizualizacji.
logoUrl
string
Logo pakietu wizualizacji.
packageUrl
string
Link, który użytkownicy mogą kliknąć, aby dowiedzieć się więcej o pakiecie
organizationUrl
string
(Opcjonalnie) Link, który użytkownicy mogą kliknąć, aby uzyskać więcej informacji o organizacji lub dewelopera.
supportUrl
string
Link do strony pomocy lub adresu e-mail pomocy dotyczącej tej wizualizacji.
privacyPolicyUrl
string
(Opcjonalnie) Link do polityki prywatności.
termsOfServiceUrl
string
(Opcjonalnie) Link do warunków korzystania z usługi.
devMode
boolean
(Opcjonalnie) Jeśli ustawiona jest wartość prawda, pomija buforowanie. Domyślna wartość to false. Aby dowiedzieć się więcej, przeczytaj informacje o buforowaniu.
components
Array(object)
Wizualizacje zawarte w pakiecie. Obecnie obsługiwana jest tylko jedna wizualizacja.
components[].id
string
Identyfikator komponentu. Nie może to być pusty ciąg znaków bez spacji.
components[].name
string
Nazwa wizualizacji.
components[].description
string
Opis wizualizacji.
components[].iconUrl
string
Ikona wizualizacji.
components[].infoUrl
string
(Opcjonalnie) Link, który użytkownicy mogą kliknąć, aby dowiedzieć się więcej o komponencie.
components[].resource
object
Zasoby wizualizacji.
components[].resource.js
string
Lokalizacja pliku JavaScript wizualizacji w Google Cloud Storage. Na przykład: gs://GCS_BUCKET_NAME/MY_VISUALIZATION.js
components[].resource.config
string
Lokalizacja pliku konfiguracyjnego wizualizacji w Google Cloud Storage. Na przykład: gs://GCS_BUCKET_NAME/MY_CONFIG.json
components[].resource.css
string
(Opcjonalnie) Lokalizacja pliku CSS wizualizacji w Google Cloud Storage. Na przykład: gs://GCS_BUCKET_NAME/MY_CSS.css
Przykładowy plik manifestu manifest.json
{"name":"ABC Visualizations Package","organization":"ABC Inc.","description":"A package of cool visualizations.","logoUrl":"https://url","organizationUrl":"https://url","supportUrl":"https://url","privacyPolicyUrl":"https://url","termsOfServiceUrl":"https://url","packageUrl":"https://url","devMode":false,"components":[{"id":"treemap","name":"Treemap","description":"Zoomable treemap with filter interactions","iconUrl":"https://url.png","infoUrl":"https://url","resource":{"js":"gs://myViz-bucket-treemap/viz.js","config":"gs://myViz-bucket-treemap/viz-config.json","css":"gs://myViz-bucket-treemap/viz.css"}},{"id":"histogram","name":"Histogram","description":"Histogram with filter interactions","iconUrl":"https://url.png","resource":{"js":"gs://myViz-bucket-histogram/viz.js","config":"gs://myViz-bucket-histogram/viz-config.json","css":"gs://myViz-bucket-histogram/viz.css"}}]}
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe manifest file (\u003ccode\u003emanifest.json\u003c/code\u003e) provides essential information about your visualization package, including its name, description, resources, and components.\u003c/p\u003e\n"],["\u003cp\u003eLocated at the top level of your component's folder, the manifest defines metadata such as the visualization's name, organization, logo, and support links.\u003c/p\u003e\n"],["\u003cp\u003eIt also specifies the locations of key resources like JavaScript, configuration, and CSS files for each component within the package.\u003c/p\u003e\n"],["\u003cp\u003eEach visualization within the package is defined as a component with a unique ID, name, description, and resource locations in the manifest.\u003c/p\u003e\n"],["\u003cp\u003eBy structuring your manifest correctly, you ensure that your visualization package can be easily discovered, understood, and integrated into Looker Studio.\u003c/p\u003e\n"]]],[],null,["# Community Visualization Manifest Reference\n\n| **Note:** The Community Visualization feature is in \"Developer Preview\". To learn more about upcoming features and improvements during this period visit the [Developer Preview](/looker-studio/visualization/developer-preview) page.\n\nThe manifest provides information about your visualization and identifies the\nlocation of your visualization resources. It should be named `manifest.json` and\nlocated at the top level of the folder used as your `Component ID`.\n\nThe following fields must be defined (unless indicated otherwise):\n\n| Field name | Type | Description |\n|--------------------------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` | Name of the visualization package. |\n| `organization` | `string` | Name of the organization or developer. |\n| `description` | `string` | Description of the visualization package. |\n| `logoUrl` | `string` | A logo for the visualization package. |\n| `packageUrl` | `string` | A link users can follow to learn more about the package |\n| `organizationUrl` | `string` | (**Optional**) A link users can follow to learn more about the organization or developer. |\n| `supportUrl` | `string` | Link to the support page or email for supporting this visualization. |\n| `privacyPolicyUrl` | `string` | (**Optional**) Link to privacy policy. |\n| `termsOfServiceUrl` | `string` | (**Optional**) Link to terms of service. |\n| `devMode` | `boolean` | (**Optional** ) If true, skips caching. This value defaults to `false`. For more details, see [about caching](/looker-studio/visualization/caching). |\n| `components` | `Array(object)` | The visualizations that are included in the package. **Currently only a single visualization is supported**. |\n| `components[].id` | `string` | The ID of the component. This must be a non-empty string with no spaces. |\n| `components[].name` | `string` | The name of the visualization. |\n| `components[].description` | `string` | A description of the visualization. |\n| `components[].iconUrl` | `string` | An icon for the visualization. |\n| `components[].infoUrl` | `string` | (**Optional**) An link users can follow to learn more about the component. |\n| `components[].resource` | `object` | The visualization resources. |\n| `components[].resource.js` | `string` | The location of the visualization JavaScript file in Google Cloud Storage. E.g. `gs://GCS_BUCKET_NAME/MY_VISUALIZATION.js`. |\n| `components[].resource.config` | `string` | The location of the visualization config file in Google Cloud Storage. E.g. `gs://GCS_BUCKET_NAME/MY_CONFIG.json`. |\n| `components[].resource.css` | `string` | (**Optional** ) The location of the visualization CSS file in Google Cloud Storage. E.g. `gs://GCS_BUCKET_NAME/MY_CSS.css`. |\n\n| **Note:** Each manifest can contain multiple components. Each component must have a unique `id`\n\nExample `manifest.json` manifest file\n-------------------------------------\n\n {\n \"name\": \"ABC Visualizations Package\",\n \"organization\": \"ABC Inc.\",\n \"description\": \"A package of cool visualizations.\",\n \"logoUrl\": \"https://url\",\n \"organizationUrl\": \"https://url\",\n \"supportUrl\": \"https://url\",\n \"privacyPolicyUrl\": \"https://url\",\n \"termsOfServiceUrl\": \"https://url\",\n \"packageUrl\": \"https://url\",\n \"devMode\": false,\n \"components\": [\n {\n \"id\": \"treemap\",\n \"name\": \"Treemap\",\n \"description\": \"Zoomable treemap with filter interactions\",\n \"iconUrl\": \"https://url.png\",\n \"infoUrl\": \"https://url\",\n \"resource\": {\n \"js\": \"gs://myViz-bucket-treemap/viz.js\",\n \"config\": \"gs://myViz-bucket-treemap/viz-config.json\",\n \"css\": \"gs://myViz-bucket-treemap/viz.css\"\n }\n },\n {\n \"id\": \"histogram\",\n \"name\": \"Histogram\",\n \"description\": \"Histogram with filter interactions\",\n \"iconUrl\": \"https://url.png\",\n \"resource\": {\n \"js\": \"gs://myViz-bucket-histogram/viz.js\",\n \"config\": \"gs://myViz-bucket-histogram/viz-config.json\",\n \"css\": \"gs://myViz-bucket-histogram/viz.css\"\n }\n }\n ]\n }"]]