/AWS1/CL_WKRCONSENTPOPUPCONFIG¶
Consent popup configuration displayed to users on login.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_enabled TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN¶
Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.
Optional arguments:¶
iv_header TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
Header text displayed at the top of the consent popup. Maximum 100 characters.
iv_content TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
Body content of the consent popup in Markdown format. Maximum 5000 characters.
iv_closebuttonlabel TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.
Queryable Attributes¶
enabled¶
Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLED() |
Getter for ENABLED, with configurable default |
ASK_ENABLED() |
Getter for ENABLED w/ exceptions if field has no value |
HAS_ENABLED() |
Determine if ENABLED has a value |
header¶
Header text displayed at the top of the consent popup. Maximum 100 characters.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEADER() |
Getter for HEADER, with configurable default |
ASK_HEADER() |
Getter for HEADER w/ exceptions if field has no value |
HAS_HEADER() |
Determine if HEADER has a value |
content¶
Body content of the consent popup in Markdown format. Maximum 5000 characters.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT has a value |
closeButtonLabel¶
Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLOSEBUTTONLABEL() |
Getter for CLOSEBUTTONLABEL, with configurable default |
ASK_CLOSEBUTTONLABEL() |
Getter for CLOSEBUTTONLABEL w/ exceptions if field has no va |
HAS_CLOSEBUTTONLABEL() |
Determine if CLOSEBUTTONLABEL has a value |