Adding a variant

With all policy types, you can add one or more variants to a policy from an editor. In the case of images you can also add variants from the file system.

With all policy types, you can add one or more variants to a policy from an editor. In the case of images you can also add variants from the file system.

The controls in the Variant Metadata section of an editor depend on the type of policy you select.

  1. In the Variant section of the editor click Add to add a variant icon to the list

  2. Select the variant to enable the edit controls in the Content and Metadata sections

  3. Now you can enter a URL and other attributes. As you add information, it is appended to the text in the variant list.

  4. Optionally, you can Browse to choose an Asset group

Image variants

You can add variants to image policies from the file system in both the New Policy wizard, or with the New Variant wizard.

  1. In the editor click New to display the Image variant wizard

  2. Use the Browse button to locate the Image root path, and expand the directory tree to find a variant

  3. Choose a file type from the Files of type list to filter the list

  4. To preview an image. select the filename. The wizard displays a preview if it is available.

  5. Check the checkbox next to a filename to select it, or click Select All. Deselect All deselects all the files and folders.

MCS completes the variant URL and some metadata values, such as Rendering, from the image file information.

MCS records only a relative path from the Image root path to the variant in the URL attribute. This value is prefixed with either the project settings in the MCS configuration file (default), or if you have specified one, the Base URL defined for an asset group.

It is possible to drag images from the file system and drop them in the Variants list. If you add images this way, you will be asked to select a root path.

You can also add large numbers of image variants from the file system using the AssetLoaderCLI command line interface. See Loading image variants for details.

Related topics