ReImport

You can use this plugin to re-import an asset.

Asset ReImport

This plugin enables the re-import of assets to Ooyala Flex. The existing asset is deleted, and a placeholder is created, into which the new file is imported. The plugin extracts the technical metadata from the new file.

Note:
  • You cannot re-import published assets using this plugin - they must be unpublished first.
  • This plugin cannot be used on Placeholder and Group assets.
  • You cannot use this asset to re-import an asset which is purged by default, or purge only.
Properties:
Field Value Explanation
Icon Plugin icon
Sub-type ReImport Sub-type of this plugin
Classification I/O Classification of this plugin
Deployment Internal Whether the plugin is deployed inside Ooyala Flex or within another product
Supports Configuration Whether this plugin supports configuration
Supports Scripting Whether configuration supports scripting
Scripting Context job, asset, event * What Ooyala Flex objects can be referenced from within the scripting context. * Note: the event object is only visible in the context of an action running in an event handler.
Undo Action   The action required to undo this action
Redo Action   The action required to redo this sction
Timeout   Whether or not to select a timeout
Auto retry   Whether or not to select an automatic retry
Compatibility 5.x What versions of Ooyala Flex this plugin works for
Lifecycle Stable Maturity of this plugin (Experimental, Unstable or Stable)

Configuration

Field Field Type Mandatory Multiplicity Description
Source File complex 0..1 Details of the source file to import. If a source file is not specified, no media file is imported into the asset. This procedure can be used to create placeholder assets.
Source complex   Details of the source file

Source VFS Location

complex 0..1 The virtual file system location of the medial file to import

Protocol

single option   Protocol for accessing the location

Hostname

string   Hostname for accessing the location (mandatory except for file, s3, google or dropbox protocols)

Port

integer   Port for accessing the location (mandatory except for file, s3, google or dropbox protocols) (#)

Path

string   Path for accessing the location (absolute path starting with / except for ftp, sftp, ftps which are relative to the user's home directory)

Username

string   Username for authentication (not required for file protocol)

Password

string   Password for authentication (not required for file, s3, google or dropbox protocols)

Key

string   Key for authentication (only applicable to s3, google and dropbox protocols)

Secret

string   Secret for authentication (only applicable to s3, google and dropbox protocols)

Token

string   Token for authentication (only applicable to google and dropbox protocols)

Bucket

string   Only applicable to S3 protocol

Private Key File

file   Only applicable for SFTP certificate authentication
Source Resource Item complex 0..1 The Resource and Item Name of the source file

Source Resource

single option   The resource conaining the source item
Item Name string   The name of the item in the source resource
Original Filename string   The value to set as the original filename of the imported media file. If not specified, the current filename is used.
Keep Source File Name boolean   If true, then the source file name is maintained, otherwise a UUID is generated.

Copy File

complex 0..1 Copy the file to a new location. If not specified, the media file is ingested in place. One of either the target resource or folder can be specified.
Target Resoure single option   The Folder Resource for the imported media file to be copied to

Target VFS Location

complex   The Virtual File System location for the imported media file to be copied to
Protocol single option   Protocol for accesing the location

Hostname

string   Hostname for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Port integer   Port for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Path string   Path for accessing the location (absolute path starting with / except for ftp, sftp, ftps which are relative to the user's home directory)
Username string   Username for authentication (not required for file protocol)
Password string   Password for authentication (not required for file, s3, google or dropbox protocols)
Key string   Key for authentication (only applicable to s3, google and dropbox protocols)
Secret string   Secret for authentication (only applicable to s3, google and dropbox protocols)
Token string   Token for authentication (only applicable to google and dropbox protocols)
Bucket string   Only applicable to S3 protocol
Private Key File file   Only applicable for SFTP certificate authentication
Asset Details complex   Decriptive details for the asset
Title string   The title of the asset
Description string   Optional description of the asset
Placeholder Asset Type single option 0..1 The Placeholder Asset Type to create if no source file is specified
Asset Origin single option   The origin to set for the asset
Disable Metadata Extraction boolean   Whether to disable extraction of technical metadata from the asset during import
Variant complex   Specify the Variant and optionally the Metadata Definition to set for the asset. If not specified, a default is used if it has been configured.
Variant string   The Variant to set. This must be a valid configured Variant name.
Metadata complex   Specify a Metadata Definition to set. If not specified, a default is used if it has been configured.
Metadata Definition single option 0..1 The Metadata Definition to set
Source JSON Variable string 0..1 The source JSON variable
Source XML complec 0..1 Set the metadata based on details stored in an XML file or workflow variable. If not specified, a default metadata instance is created.
Source XML Location complex 0..1  
Source XML VFS Location complex   The Virtual File System location of the source XML file to read.
Protocol single option   Protocol for accessing the location
Hostname string   Hostname for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Port integer   Port for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Path string   Path for accessing the location (absolute path starting with / except for ftp, sftp, ftps which are relative to the user's home directory)
Username string   Username for authentication (not required for file protocol)
Password string   Password for authentication (not required for file, s3, google or dropbox protocols)
Key string   Key for authentication (only applicable to s3, google and dropbox protocols)
Secret string   Secret for authentication (only applicable to s3, google and dropbox protocols)
Token string   Token for authentication (only applicable to google and dropbox protocols)
Bucket string   Only applicable to S3 protocol
Private Key File file   Only applicable for SFTP certificate authentication
Source XML Variable Name string 0..1 Source XML workflow variable name to use
XSLT file 0..1 Optional XSLT to apply to source XML. If not defined then XML is expected to be in MioMetadata XML form.
Keyframe complex 0..* Keyframe to set on the imported asset, if it is a media file. An image file cannot have keyframes.
Source Keyframe VFS Location complex   The Virtual File System location of the source keyframe to import.
Protocol single option field   Protocol for accessing the location
Hostname string   Hostname for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Port integer   Port for accessing the location (mandatory except for file, s3, google or dropbox protocols)
Path string   Path for accessing the location (absolute path starting with / except for ftp, sftp, ftps which are relative to the user's home directory)
Username string   Username for authentication (not required for file protocol)
Password string   Password for authentication (not required for file, s3, google or dropbox protocols)
Key string   Key for authentication (only applicable to s3, google and dropbox protocols)
Secret string   Secret for authentication (only applicable to s3, google and dropbox protocols)
Token string   Token for authentication (only applicable to google and dropbox protocols)
Bucket string   Only applicable to S3 protocol
Private Key File file   Only applicable for SFTP certificate authentication
Title string   Optional title for the keyframe
Keyframe Description string   Optional description for the keyframe
Timecode integer 0..1 Optional timecode for the keyframe. If defined, the keyframe is imported as an extracted keyframe, otherwise it is imported as an uploaded keyframe.
Master boolean   Whether the keyframe should be set as master. If multiple keyframes are configured as master, the last to be imported is set as master for the asset.
Asset Relationships complex   Specify relationships with existing assets in the system.
Child complex 0..1 Add a parent-child relationship
Parent Asset complex   Specify the parent asset
Parent Asset single option 0..1 Select the parent file asset to use.
Parent Asset ID string 0..1 Specify the parent file asset ID or use an expression.
Reference Name string   Optional reference name to set on the parent-child relationship
Member complex 0..*

Add a group-member relationship.

Parent Group Asset complex   Specify the parent group.
Group Asset single option 0..1 Specify the parent group asset to use.
Group Asset ID string 0..1 Specify the parent group asset ID or use an expression.
Membership Name string   Optional membership name to set on the group-member relationship

Was this article helpful?