Référence du fichier manifeste de visualisation de la communauté
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Le fichier manifeste fournit des informations sur votre visualisation et identifie le
de vos ressources de visualisation. Il doit être nommé manifest.json et
situé au niveau supérieur du dossier utilisé comme Component ID.
Sauf indication contraire, les champs suivants doivent être définis :
Nom du champ
Type
Description
name
string
Nom du package de visualisation.
organization
string
Nom de l'organisation ou du développeur
description
string
Description du package de visualisation.
logoUrl
string
Logo pour le package de visualisation.
packageUrl
string
Lien que les utilisateurs peuvent suivre pour en savoir plus sur le package
organizationUrl
string
(Facultatif) Lien que les utilisateurs peuvent suivre pour en savoir plus sur l'organisation ou le développeur.
supportUrl
string
Lien vers la page d'assistance ou l'e-mail pour étayer cette visualisation.
privacyPolicyUrl
string
(Facultatif) Lien vers les règles de confidentialité.
termsOfServiceUrl
string
(Facultatif) Lien vers les conditions d'utilisation.
devMode
boolean
(Facultatif) Si la valeur est "true", la mise en cache est ignorée. La valeur par défaut est false. Pour en savoir plus, consultez À propos de la mise en cache.
components
Array(object)
Visualisations incluses dans le package. Actuellement, une seule visualisation est acceptée.
components[].id
string
ID du composant. Il doit s'agir d'une chaîne non vide sans espaces.
components[].name
string
Nom de la visualisation.
components[].description
string
Description de la visualisation.
components[].iconUrl
string
Icône de la visualisation.
components[].infoUrl
string
(Facultatif) Lien que les utilisateurs peuvent suivre pour en savoir plus sur le composant.
components[].resource
object
Les ressources de visualisation
components[].resource.js
string
Emplacement du fichier JavaScript de visualisation dans Google Cloud Storage. Exemple : gs://GCS_BUCKET_NAME/MY_VISUALIZATION.js
components[].resource.config
string
L'emplacement du fichier de configuration de la visualisation dans Google Cloud Storage. Exemple : gs://GCS_BUCKET_NAME/MY_CONFIG.json
components[].resource.css
string
(Facultatif) Emplacement du fichier CSS de la visualisation dans Google Cloud Storage. Exemple : gs://GCS_BUCKET_NAME/MY_CSS.css
Exemple de fichier manifeste 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"}}]}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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 }"]]