Skip to content

/AWS1/CL_CNT=>UPDATEVIEWCONTENT()

About UpdateViewContent

Updates the view content of the given view identifier in the specified Amazon Connect instance.

It performs content validation if Status is set to SAVED and performs full content validation if Status is PUBLISHED. Note that the $SAVED alias' content will always be updated, but the $LATEST alias' content will only be updated if Status is PUBLISHED.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEID TYPE /AWS1/CNTVIEWSINSTANCEID /AWS1/CNTVIEWSINSTANCEID

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

IV_VIEWID TYPE /AWS1/CNTVIEWID /AWS1/CNTVIEWID

The identifier of the view. Both ViewArn and ViewId can be used.

IV_STATUS TYPE /AWS1/CNTVIEWSTATUS /AWS1/CNTVIEWSTATUS

Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

IO_CONTENT TYPE REF TO /AWS1/CL_CNTVIEWINPUTCONTENT /AWS1/CL_CNTVIEWINPUTCONTENT

View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.

The total uncompressed content has a maximum file size of 400kB.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNTUPDATEVIEWCONTRSP /AWS1/CL_CNTUPDATEVIEWCONTRSP