Variants

Some Object Types allow you to define "Variants". A Variant is a more specific type of an existing Object Type which is defined by a User. For example Ooyala Flex supports the Asset Object Type. This means that in Ooyala Flex you can create, update and search for Assets. But what about if you want to create a new Object Type that is like an Asset but more specific? What if you wish to assign different data fields to your more specific Type? Let's say you want to create a type called "Video" that is simply a type of Asset with more specific data Fields. To do this you create a Variant.

When you create a Variant, you do the following:

• Select the Ooyala Flex Object Type you want to base your Variant on (i.e. Asset)

• Create a name for your Variant (i.e. Film)

• Supply an optional Metadata Schema to help describe properties of your Variant

Creating a Variant

To create a Variant, follow these steps:

1) Click the Access tab, and then on the Toolbar, select the Accounts option.

2) Select an Account from the list.

3) In the Account Details section, select the Variants sub-tab.

4) Click the Edit option in the top-right corner of the Variants screen.

5) You will be taken to the Variant Creation / Editing section.  Here you can create new Variants, as well as delete existing ones.

6) You will see a blank set of fields. Here you can fill in the details for your new Variant.

7) In the Object Type field, select an Object type that you wish to base your Variant on, for example Media Asset.

8) In the Variant field, enter a name for your Variant. A Variant is a User defined concept. It enables you to create your own category of the Object Type. So in our example we are creating our own category of the Media Asset Object type called Film.

9) In the Metadata Definition field, select a Metadata Definition. You can assign your Metadata schema to a Variant you are creating.

10) If you select the Metadata Definition check box, every time a Variant of type (in this case) Film is selected, the Metadata Definition (e.g. test-metadata-def1) will be linked by default.

11) You can add more Variants and also remove Variants by using the + and - icons found at the end of each row.

12) When you have finished creating your new Variant, click Save.

13) By clicking Save, all the changes you have made will be saved. You will see a confirmation box to ensure that you are aware that deleting Variants may result in a loss of data.

14) Click Continue to confirm.

15) Your Variant is now created.

Selecting a Variant when creating an Object.

Once your Variant has been created, you can select it when you create new Objects types that are linked with that Variant.

To select your Variant when creating new Objects, follow these steps:

1) Create the Object type associated with the Variant. E.g. if you have created a Variant for the Media Asset Object type, you can either create a placeholder Media Asset, or ingest a file.

2) In the Details section for the Object, click the Variant drop down, and select the Variant you've created. In our example it will be the Film Variant.

3) The Metadata associated with the Variant is automatically selected, and those Metadata fields will appear, ready for you to fill out.

4) Click Save to finalise.

5) When you save the Object type, you will see all of the Metadata fields, in the Object Details section.

Was this article helpful?