# WEB\_IMPORT

## Overview

This CO event will be triggered when the 'Web\_Import' [profile](https://docs.helmut.de/helmut4-releases/helmut4-components/helmuthk/profiles) of an asset ingest is utilized.

The 'Web\_Import' can be accessed while viewing a project within Cosmo; at the top right, there is a dedicated 'Import Assets' button. When clicked, a new overlay will open, providing various input options.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/Bg5Lx3pO55smWJ7CvztB/image.png" alt=""><figcaption><p>Cosmo Web Import - Import assets</p></figcaption></figure>

## Importing an asset

### Difference import asset vs upload asset

The significant distinction between Web Import (import asset) and Web Upload (upload asset) is quite straightforward.

Web Import manages any asset on a local system level, accessing them through a local file chooser. This enables the setup of fast and streamlined import workflows.

On the other hand, Web Upload utilizes a different approach to upload and ingest assets. In this scenario, assets are uploaded via the browser in advance. Once the upload process is complete, the actual stream starts.

#### Advantages and Disadvantages of Web Import

**Pros:**

* Access on a client/host level
* Fast, no further processing required
* Jobs can be picked up as soon as possible

**Cons:**

* Assets might not be reachable for all render nodes (permission/availability)
* Local file chooser

#### Advantages and Disadvantages of Web Upload

**Pros:**

* Guaranteed access for any render node
* Ingest client doesn't need access to the actual storage
* Upload of assets via browser
* Processing of web links

**Cons:**

* Slow, upload takes additional time
* Jobs can be picked once the upload is done

### **Ingest Workflow**

After clicking the 'Import Asset' button, an overlay opens. Please select the dedicated profile for processing. As profiles may use different [metadata sets](https://docs.helmut.de/helmut4-releases/helmut4-components/helmutio/metadata/metadata-set), the metadata section may change.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/zhCXSZjVu0yViWxFgQfM/image.png" alt=""><figcaption><p>Selected profile in Cosmo Web Import</p></figcaption></figure>

For importing assets, two options are available to select the desired files:

1. **Add Files:**
   * Allows the selection of assets individually (single or multiple).
2. **Add Folders:**
   * Allows the selection of folders individually (single or multiple).

It is not possible to select assets and folders together in one step.

Clicking either of the two buttons opens a file chooser, which starts at the root point of your client. The file chooser will remember the last directory used on the next opening.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/wp7XrdTZM1XRBjk9ML0u/image.png" alt=""><figcaption><p>Root view of the Cosmo Import on macOS</p></figcaption></figure>

<figure><img src="https://1398472304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJYkTyk9qgh7aCR6dHIm%2Fuploads%2Fno0ISGZ57thuCAfffBF3%2Fimage.png?alt=media&#x26;token=91ffc079-2f30-4ddb-943f-f9d5414f3780" alt=""><figcaption><p>Root view of the Cosmo Web Import on Windows with UNC &#x26; Drive Letter</p></figcaption></figure>

Select the assets to be ingested; the chosen assets will be marked with an orange circle containing a tick.\
After completing the selection, click the 'Apply import to all selected items' button. The system will remember the last directory used for the next opening.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/Gs70eudU7rGFkvAwSuD8/image.png" alt=""><figcaption><p>Selected asset in Cosmo Import</p></figcaption></figure>

After clicking the button, the overlay windows will close, and you will return to the Web Import window. Repeat the steps for additional assets if needed.

Once the selection is complete, click the 'Import Assets' button.

![Import Assets Dialog](https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/lfGd82yQ611MGY2Jd96w/image.png)

### Asset List

Displays the selected asset to be uploaded.

### Remove Icon

Can be used to remove one or all asset(s) from the list of assets to be uploaded.

### Attached Metadata

Displays all metadata records based on the selected profile. The definition takes place via the profile, which is created in HIO.

#### Metadata Order for Metadata Set

Please refer to [Metadata Order for Metadata Set](https://docs.helmut.de/helmut4-releases/helmutio/metadata/metadata-set#metadata-order-for-metadata-set) for further information.

### Host Assignment

{% hint style="warning" %}
Any stream with this trigger must have "CLIENT" as the host type. Since this stream needs to be assigned to any user/client, server execution is not possible.
{% endhint %}
