/AWS1/CL_PP2RCSCARDMEDIA¶
The media content of a rich card, including the file URL, optional thumbnail, and display height.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_fileurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL¶
The S3 URI of the media file for the card, in the format
s3://bucket-name/key. Maximum 2000 characters.
Optional arguments:¶
iv_thumbnailurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL¶
The S3 URI of an optional thumbnail image for the card media. Maximum 2000 characters.
iv_height TYPE /AWS1/PP2STRING /AWS1/PP2STRING¶
The display height of the media in the card. Valid values are SHORT, MEDIUM, and TALL.
Queryable Attributes¶
FileUrl¶
The S3 URI of the media file for the card, in the format
s3://bucket-name/key. 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 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 card. Valid values are SHORT, MEDIUM, and TALL.
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 |