# File Explorer

GridMate provides a lightning component **GM - File Explorer** to display the list of files related to a specific record.

In this tutorial, we will configure **GM - File Explorer** .

1. Select an account record and edit the page in the Lightning App Builder.
2. From the components list, search for GM - File Explorer.
3. The grid component is now ready for configuration in the Lightning App Builder.
4. The property values can be configured to tailor the component to the needs of the end-user.
5. To perform a quick configuration, populate the properties below :
   * Default View : **table**
   * Enable Delete : **Checked**
   * Enable Copy/Paste : **Checked**
   * Show Border : **Checked**

Below is a step by step tutorial to configure the **GM - File Explorer**.

{% embed url="<https://youtu.be/j2SdIxEMozQ>" %}
**GM - File Explorer**
{% endembed %}

### Search By Topic

This feature enhances the search process by delivering precise and targeted results that align with users' specific interests and information needs.

{% embed url="<https://youtu.be/p6j08F_iFnw>" %}
Search By Topic
{% endembed %}

## Disable Upload

This configuration option blocks direct file uploads to Salesforce Files, supporting centralized storage management and policy enforcement.

To **Disable Upload** properties.

1. Edit the Lightning page in the App Builder.
2. Scroll down until you locate the **Disable Salesforce Upload** setting, then check it.

<figure><img src="/files/KBj8XqS35JgKtk6zU3XU" alt=""><figcaption></figcaption></figure>

Below is a step by step tutorial to **Disable Upload** feature 👇.

{% embed url="<https://youtu.be/n_XIwrt6rFc>" %}

## Disable Download

This feature strengthens data protection by restricting file downloads, ensuring that files remain within approved storage environments.

To **Disable Download** properties.

1. Edit the Lightning page in the **App Builder**.
2. Scroll down until you locate the **Disable Download** section, then check it.

<figure><img src="/files/WEuP0NsIHZArSyFv8xMc" alt=""><figcaption></figcaption></figure>

Below is a step by step tutorial to **Disable Download** feature 👇.

{% embed url="<https://youtu.be/n_XIwrt6rFc?si=Lwohn0Er_o1UDi36&t=50>" %}

## Enhanced Preview

This feature improves the file preview experience by delivering higher rendering quality and intuitive navigation controls, including zoom in, zoom out, and rotation for better document inspection.

To Enable **Enhanced Preview**.

1. Edit the Lightning page in the App Builder.
2. Scroll down until you locate the Enable **Enhanced Preview** setting, then check it.

<figure><img src="/files/SGMynyBpmi8FRgWX6tOK" alt=""><figcaption></figcaption></figure>

Below is a step-by-step tutorial on how to use the **Enhanced Preview** feature 👇

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

## Inline Preview

This feature allows users to preview file contents directly within the **File Explorer** interface, eliminating the need to open a separate modal and enabling a more efficient in-context viewing experience.

{% hint style="info" %}
When selecting **Top** or **Bottom** alignment, configure the **Inline Preview Height(px)** to adjust the vertical space of the preview panel.

When selecting **Left** or **Right** alignment, the layout switches to horizontal mode, allowing you to define the **Inline Preview Width(px)** instead.
{% endhint %}

<figure><img src="/files/5kzkUXJTx5FAAwrnPJvq" alt=""><figcaption></figcaption></figure>

Below is a step-by-step tutorial on how to use the **Inline Preview** feature 👇

{% embed url="<https://youtu.be/a2ycU7VMAs4?si=7Cxtcvqoekg_7GpA&t=78>" %}


---

# 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://docs.gridmate.io/product-tour/file-explorer.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.
