> For the complete documentation index, see [llms.txt](https://documentation.efalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.efalia.com/produit/efalia-ecm/utilisation/winclient/rapports-scripts.md).

# Rapports & Scripts

Des scripts configurés par un administrateur ECM Efalia dans Enterprise Manager permettent à un utilisateur d'effectuer des requêtes de données sur Efalia ECM sans aucune connaissance ni accès au serveur SQL.

Les scripts peuvent contenir des paramètres que l'utilisateur doit définir.

## Utilisation des scripts

Sélectionnez ***Rapports & Scripts*** pour lister les scripts disponibles. Seuls les scripts sur lesquels un utilisateur a des droits seront listés.

Pour exécuter un script, choisissez-le dans la liste et sélectionnez ***Exécuter***. Si le script doit être entré manuellement des paramètres, une fenêtre s'ouvre où les paramètres doivent être saisis. Les ***résultats d'exécution du script par*** fenêtre s'ouvrent alors.

## Résultats du scénario

La fenêtre des résultats du script affichera les informations retournées par la requête de script, au format tabulaire.

### Exportation

Le rapport peut être imprimé ou enregistré dans les formats suivants : PDF, XLS, RTF et CSV, en sélectionnant ***Exporter***. Le rapport peut être feuilleté et différents niveaux de zoom peuvent être sélectionnés

### Exemple

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-f4c6d2b0c66ae5859f300f7f13efe22c294ec2d8%2Fecm-winclient-rapports-scripts-01.webp?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.efalia.com/produit/efalia-ecm/utilisation/winclient/rapports-scripts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
