# Treeview

## Sources

| Download                                           | Sources                                   |
| -------------------------------------------------- | ----------------------------------------- |
| <https://github.com/pluginsGLPI/treeview/releases> | <https://github.com/pluginsGLPI/treeview> |

***

## Requirements (self-hosted)

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
This plugin is available without a [GLPI Network](https://services.glpi-network.com/#offers) subscription. It is also available on [GLPI Cloud](https://glpi-network.cloud).
{% endhint %}

***

## Features

This plugin allows you to browse through your inventory via a tree view in a panel located on the left side of the screen.

You can browse the tree of your site to see the equipment.

***

## Install the Plugin

* Uncompress the archive.
* Move the `tag` directory to the `<GLPI_ROOT>/plugins` directory
* Navigate to the *Configuration > Plugins* page,
* Install and activate the plugin.

***

## Usage

The plugin will create required tables in the database automatically. Those tables will be updated along with the plugin.

Plugin configuration is quite simple:

You will access the create form from the *Setup* > *Plugins* > *treeview*.

![image](/files/guGGErJmn7E6JT5S4QVh)

* Target for all node : on clic on node, redirect to new window
* Nodes can be highlighted : highlight selcted node or not
* Tree is drawn with lines : display or not
* Tree is drawn with icons : Display or not icon for node
* Only one node within a parent can be expanded at the same time : more tthan one parent node can be expand at same time
* Item name : name or inventory number or name + inventory number or inventory number + name
* Location name : short name or long name or long name + comment or long name + comment


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.glpi-project.org/doc-plugins/plugins-glpi/treeview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
