Creating an Import Action

The import action imports the asset, and moves the file to the storage resource you have created for your media.

To create an import action:

  1. From the toolbar in the Ooyala Flex Console, click New and select Action from the drop down menu.

  2. In the Create new Action… page, complete the following fields:

  • Name: enter a name for your import action.
  • Description: enter an optional description.
  • Visibility: select the workspaces, accounts, and groups that will have access to the import action.
  • Plugin Type: select a Plugin Type from the drop down menu, e.g. Import.
  • Plugin: select a Plugin from the drop down menu, e.g. Asset Import Action.
  1. Click Save.

  2. Next, click the Configuration sub-tab.

  3. Click the Edit option.

  4. Expand the Source File complex, by clicking the + icon.

  5. In the Source Resource Item field, click the expression button, located to the right of the field. Then enter the following expression: ${variables.resource.id}

  6. In the Item Name field, enter the following expression: ${variables.resourceItemName}

  7. In the Title field, enter a title. This could be the same as the item name.

  8. From the Asset Origin drop down, select Import.

  9. From the Move File field, select the folder you have created.

  10. Click Save.

  11. Click Enable.