> For the complete documentation index, see [llms.txt](https://university.gonexa.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://university.gonexa.fr/doc/getting-started/conditional-display.md).

# Conditions d'affichage dans Word

Mettez du dynamisme dans vos modèles en créant des conditions d'affichage pour afficher un élément selon un ou plusieurs critères Salesforce.

{% embed url="<https://www.youtube.com/watch?v=7XTxmU0Zvf4>" %}

Cette formation se décompose en **2 étapes simples** :

* La création d'une condition simple pour comprendre le principe
* Les cas d'usage réels les plus rencontrés

{% hint style="info" %}
**Pré-requis**

* [ ] Avoir un modèle déjà prêt avec un objet principal et un objet enfant (facultatif)
* [ ] Travailler sur un modèle Word - cette fonctionnalité n'etant pas disponible dans Google Doc
  {% endhint %}

## Dans quel cas faire une condition ?

Une condition d'affichage permet d'afficher ou de masquer n'importe quel élément de votre modèle comme une clause ou une section grâce à la logique conditionnelle IF de Word.

Elle peut être basée sur le champ d'objet principal, un objet parent, un objet enfant, une case à cocher, une devise ou une picklist et peut afficher du texte, un chiffre, une image statique ou dynamique, un pyctogramme, un tableau, d'autres balises ou un vide.

L'objectif est de pouvoir créer un modèle avec une logique avancée qui permet de s'adapter à chaque situation, et éviter de multiplier ainsi les versions pour chaque variante.

{% hint style="danger" %}
**Attention**

La condition SI n'est compatible qu'avec un modèle de document au format d'entrée Word. Elle n'est donc pas compatible avec un modèle PDF, Powerpoint, ou Excel.
{% endhint %}

## Dans cette rubrique

* [Créer une condition d'affichage simple](/doc/getting-started/conditional-display/create-simple-condition.md)
* [Exemples de conditions d'affichage simples](/doc/getting-started/conditional-display/simple-condition-examples.md)
* [Conditions d'affichage avancées : OR, AND, AND + OR et imbriquées](/doc/getting-started/conditional-display/advanced-conditions.md)
* [Dépannage : la condition SI ne se déclenche pas](/doc/getting-started/conditional-display/troubleshoot-if-conditions.md)


---

# 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://university.gonexa.fr/doc/getting-started/conditional-display.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.
