> For the complete documentation index, see [llms.txt](https://wpcloudplugins.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpcloudplugins.gitbook.io/docs/modules/module-configurator/actions.md). Agents can also search and read this documentation through its [MCP server](https://wpcloudplugins.gitbook.io/docs/~gitbook/mcp).

# Actions

Define what actions users can perform, such as downloading, previewing, or editing files directly via the module.

## Basic Actions

### Preview

Who can preview files via this module?

| Setting                      | Description                                                                                                 |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Inline Preview**           | Open preview inside a lightbox. If disabled, the preview will open in a new tab.                            |
| **— Google popout button**   | Activate the Google Pop Out button which can be visible in the inline preview for a couple of file formats. |
| **Allow Preview in new tab** | Show the 'Preview in a new tab' option in the File Actions menu.                                            |
| **Who can preview files?**   | Select roles or users for this action.                                                                      |

### Download

Download content via this module.

| Setting                 | Description                                                        |
| ----------------------- | ------------------------------------------------------------------ |
| **Who can download?**   | Select roles or users for this action.                             |
| **Allow ZIP Downloads** | Allow users to select multiple files and folders for ZIP download. |

{% hint style="danger" %}
The **Google API** and **OneDrive API**  does not support ZIP creation on the fly. Therefore, the ZIP file needs to be created (temporarily) on your server. For that reason, it is not recommended to enable this setting when you are working with large files or folders.
{% endhint %}

### Upload

Upload content to your Cloud account.

| Setting             | Description                            |
| ------------------- | -------------------------------------- |
| **Who can upload?** | Select roles or users for this action. |

### Search

Search for files by filename and content (when files are indexed).

| Setting                 | Description                                                                                                                                                                                                |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Who can search?**     | Select roles or users for this action.                                                                                                                                                                     |
| **Full-Text search**    | Search in file content, descriptions, tags and other metadata.                                                                                                                                             |
| **Initial Search Term** | Add search terms if you want to start a search when the shortcode is rendered. Please note that this only affects the initial render. If you want to only show specific files, you can use the Filters tab |

## Files & Folder Actions

### Direct Link

Generate links to documents on your website. Only users with access to the module and its content will be able to open the link.

| Setting                      | Description                            |
| ---------------------------- | -------------------------------------- |
| **Who can link to content?** | Select roles or users for this action. |

### Share

Generate permanent shared links to your content in the Cloud.

| Setting                    | Description                            |
| -------------------------- | -------------------------------------- |
| **Who can share content?** | Select roles or users for this action. |

### Create new documents

Create new documents via this module.

| Setting                                                                              | Description                            |
| ------------------------------------------------------------------------------------ | -------------------------------------- |
| <p><strong>Who can create documents?</strong><br><strong>(</strong>Google Drive)</p> | Select roles or users for this action. |

### Create new folders

Allow users to create folders.

| Setting                    | Description                            |
| -------------------------- | -------------------------------------- |
| **Who can create folder?** | Select roles or users for this action. |

### Create shortcuts

Create shortcuts to files and folder.

| Setting                                                                         | Description                            |
| ------------------------------------------------------------------------------- | -------------------------------------- |
| <p><strong>Who can create shortcuts for files?</strong><br>(Google Drive)</p>   | Select roles or users for this action. |
| <p><strong>Who can create shortcuts for folders?</strong><br>(Google Drive)</p> | Select roles or users for this action. |
|                                                                                 |                                        |

### Add/Edit descriptions

Allow users to add and edit descriptions.

| Setting                                | Description                            |
| -------------------------------------- | -------------------------------------- |
| **Who can edit documents?**            | Select roles or users for this action. |
| (Google Drive, OneDrive Personal, Box) |                                        |

### Edit Google Docs and Office documents

Allow users to edit Google Documents and Office documents.

| Setting                                                                      | Description                            |
| ---------------------------------------------------------------------------- | -------------------------------------- |
| <p><strong>Who can link to content?</strong><br>(Google Drive, OneDrive)</p> | Select roles or users for this action. |

### Rename

Rename files and folders via this module.

| Setting                     | Description                            |
| --------------------------- | -------------------------------------- |
| **Who can rename files?**   | Select roles or users for this action. |
| **Who can rename folders?** | Select roles or users for this action. |

### Move

Move content to new folder locations.

| Setting                   | Description                            |
| ------------------------- | -------------------------------------- |
| **Who can move files?**   | Select roles or users for this action. |
| **Who can move folders?** | Select roles or users for this action. |

### Copy

Allow users to copy content.

| Setting                   | Description                            |
| ------------------------- | -------------------------------------- |
| **Who can copy files?**   | Select roles or users for this action. |
| **Who can copy folders?** | Select roles or users for this action. |

### Delete

Allow users to delete content on your Cloud account.

| Setting                                                                    | Description                                                                    |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| <p><strong>Delete to trash</strong><br><strong>(</strong>Google Drive)</p> | Place deleted items in trash instead of immediately deleting them permanently. |
| **Who can delete files?**                                                  | Select roles or users for this action.                                         |
| **Who can delete files?**                                                  | Select roles or users for this action.                                         |
