---
title: Infoveave Document Upload
description: Upload documents to Infoveave document store and return document links.
category: Infoveave Activities
tags: [infoveave, document, upload, files]
---

# Infoveave Document Upload

## **Description**

The **Infoveave Document Upload** activity uploads input files to the Infoveave document store and returns a data table containing the original file name and the generated document link for each uploaded document.

### **Supported Features**

- **Multiple file upload**: Uploads every input file.
- **Infoveave document storage**: Uploads documents with `UseFor` set to `FuseData`.
- **Document link output**: Returns one row per uploaded file with the original file name and document link.
- **Required file input**: Fails when no files are provided.
- **Optional prefix configuration**: `DocumentNamePrefix` is available in configuration. In the current implementation the prefixed name is computed for logging, but the upload call uses the source file path.

---

## **Input**

| Type | Required | Description |
| --- | --- | --- |
| Files | Yes | Files to upload to the Infoveave document store. |

### **Input Scenarios**

#### **1. Single File Upload**

```json
{
  "Files": [
    { "FileName": "invoice.pdf", "FullPath": "C:/Work/invoice.pdf" }
  ]
}
```

#### **2. Multiple File Upload**

```json
{
  "Files": [
    { "FileName": "invoice.pdf", "FullPath": "C:/Work/invoice.pdf" },
    { "FileName": "report.xlsx", "FullPath": "C:/Work/report.xlsx" }
  ]
}
```

#### **3. No Files**

The activity fails with `No files were provided for upload.`

---

## **Output**

| Field | Type | Description |
| --- | --- | --- |
| Data | Array | One row per uploaded file. |
| FileName | String | Original input file name. |
| DocumentLink | String | Link returned by Infoveave for the uploaded document. |

### **Example Output**

```json
{
  "Data": [
    {
      "FileName": "invoice.pdf",
      "DocumentLink": "ivdoc://tenant/document/1234"
    },
    {
      "FileName": "report.xlsx",
      "DocumentLink": "ivdoc://tenant/document/5678"
    }
  ]
}
```

---

## **Configuration Fields**

| Field Name | Type | Required | Description |
| --- | --- | --- | --- |
| DocumentNamePrefix | Text | No | Optional prefix configured for document naming. The activity currently computes the prefixed document name for logging, while upload is performed using the input file path. |

### **Conditional Field Rendering Rules**

No conditional configuration fields are defined for this activity.

---

## **Sample Configuration**

| Field | Value |
| --- | --- |
| DocumentNamePrefix | `FY2026-` |

---

## **Sample Output**

| FileName | DocumentLink |
| --- | --- |
| `invoice.pdf` | `ivdoc://.../document/1234` |
| `report.xlsx` | `ivdoc://.../document/5678` |
