Skip to content

/AWS1/CL_PP2RCSCAROCARDCONTENT

The content of a carousel card, including title, description, media, and card-level suggested actions. Media height is restricted to SHORT or MEDIUM.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_title TYPE /AWS1/PP2RCSCARDTITLE /AWS1/PP2RCSCARDTITLE

The title of the carousel card. Maximum 200 characters.

iv_description TYPE /AWS1/PP2RCSCARDDESCRIPTION /AWS1/PP2RCSCARDDESCRIPTION

The description text of the carousel card. Maximum 2000 characters.

io_media TYPE REF TO /AWS1/CL_PP2RCSCAROCARDMEDIA /AWS1/CL_PP2RCSCAROCARDMEDIA

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

it_suggestions TYPE /AWS1/CL_PP2RCSSUGGESTEDACTION=>TT_RCSCARDSUGGESTEDACTIONLIST TT_RCSCARDSUGGESTEDACTIONLIST

Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.


Queryable Attributes

Title

The title of the carousel card. Maximum 200 characters.

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

Description

The description text of the carousel card. Maximum 2000 characters.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

Media

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

Accessible with the following methods

Method Description
GET_MEDIA() Getter for MEDIA

Suggestions

Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.

Accessible with the following methods

Method Description
GET_SUGGESTIONS() Getter for SUGGESTIONS, with configurable default
ASK_SUGGESTIONS() Getter for SUGGESTIONS w/ exceptions if field has no value
HAS_SUGGESTIONS() Determine if SUGGESTIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_RCSCAROUSELCARDCONTENTLIST

TYPES TT_RCSCAROUSELCARDCONTENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PP2RCSCAROCARDCONTENT WITH DEFAULT KEY
.