Added in 24.11.
Use the updateRelatedContentUrlForArchivedMessage
mutation to add or update the related URL of an archived message.
The related URL of an archived message is used to guide the community members to an external URL that has the related content of the archived message. With this content, the user can learn information about the archived message.
The fields of the mutation are given in the table below:
Field | Description | Required |
---|---|---|
messageId | The archived message ID you want to add or update. | Yes |
relatedUrl | The related URL you want to add or update to the archived message. When community members access the archived content, they will be redirected to this URL for related content. | No |
Example
Use the example below to update the related URL of the archived message (ID: 3374).
mutation {
updateRelatedContentUrlForArchivedMessage(
messageId: "message:3374",
relatedUrl:"https://[YOUR_RELATED_URL].com/"
) {
result
errors {
__typename
}
}
}
The GraphQL response:
{
"data": {
"updateRelatedContentUrlForArchivedMessage": {
"result": true,
"errors": null
}
}
}
ATLAS
Comments