Skip to content

/AWS1/CL_PP2RCSCAROCARDMEDIA

The media content of a carousel card. Display height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).

CONSTRUCTOR

IMPORTING

Required arguments:

iv_fileurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL

The S3 URI of the media file for the carousel card. Maximum 2000 characters.

Optional arguments:

iv_thumbnailurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL

The S3 URI of an optional thumbnail image for the carousel card media. Maximum 2000 characters.

iv_height TYPE /AWS1/PP2STRING /AWS1/PP2STRING

The display height of the media in the carousel card. Valid values are SHORT and MEDIUM.


Queryable Attributes

FileUrl

The S3 URI of the media file for the carousel card. Maximum 2000 characters.

Accessible with the following methods

Method Description
GET_FILEURL() Getter for FILEURL, with configurable default
ASK_FILEURL() Getter for FILEURL w/ exceptions if field has no value
HAS_FILEURL() Determine if FILEURL has a value

ThumbnailUrl

The S3 URI of an optional thumbnail image for the carousel card media. Maximum 2000 characters.

Accessible with the following methods

Method Description
GET_THUMBNAILURL() Getter for THUMBNAILURL, with configurable default
ASK_THUMBNAILURL() Getter for THUMBNAILURL w/ exceptions if field has no value
HAS_THUMBNAILURL() Determine if THUMBNAILURL has a value

Height

The display height of the media in the carousel card. Valid values are SHORT and MEDIUM.

Accessible with the following methods

Method Description
GET_HEIGHT() Getter for HEIGHT, with configurable default
ASK_HEIGHT() Getter for HEIGHT w/ exceptions if field has no value
HAS_HEIGHT() Determine if HEIGHT has a value