The following table describes the properties of the mediaContent item type:

Name

Type

Description

id

string

The repository ID of the mediaContent item.

name

string

The item name displayed in the Business Control Center.

url

string

The URL pointing to the binary file.

mediaType

enumerated

Automatically set to one of the following values, based on the filename extension in the URL: Video, Image, PDF, Audio, Other.

thumbnailImage

mediaContent item of mediaType Image

An image that is intended to be used as the thumbnail image when rendering the mediaContent item on a page, such as in a spotlight. This image is also used as the thumbnail image for the item in the Business Control Center.

tags

set of tag items

The tag items associated with the mediaContent item.

title

string

The title for the mediaContent item. This property is intended for display on the storefront.

description

string

A description of the mediaContent item. This property is intended for display on the storefront.

relatedProducts

list of product items in the product catalog repository

Products associated with the mediaContent item.

relatedCategories

list of category items in the product catalog repository

Categories associated with the mediaContent item.

relatedArticles

list of article items

Articles associated with the mediaContent item.

relatedMedia

list of mediaContent items

Other mediaContent items associated with the mediaContent item.

siteIds

set of site ID strings

In a multisite environment, the IDs of the sites the mediaContent item is associated with. In a non-multisite environment, this property should be null.

startDate

timestamp

Timestamp of when the mediaContent item becomes available, if a collection filter is implemented to use this property.

endDate

timestamp

Timestamp of when the mediaContent item is no longer available, if a collection filter is implemented to use this property.

parentFolder

folder item

Folder containing the mediaContent item. Can be null (use of folders is optional).

lastModifiedUser

string

Identifier of the last user to modify the mediaContent item.

lastModifiedDate

timestamp

Timestamp of the last time the mediaContent item was modified.

creationUser

string

Identifier of the user who created the mediaContent item.

creationDate

timestamp

Timestamp of when the mediaContent item was created.

version

int

Integer that is incremented automatically each time the mediaContent item is updated; used to prevent version conflict.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices