Use the content archival settings query to check the community archival settings such as external URL and content archive.
{
community {
contentArchiveSettings {
isContentArchiveEnabled {
key
value
}
isContentArchiveExternalUrlsEnabled {
key
value
}
}
}
}
In the above query, we have requested the key and value of the contentArchiveSettings
input. The description of the inputs are as follows:
isContentArchiveEnabled
- If this value is set astrue
, the content archive feature is turned on for your community.isContentArchiveExternalUrlsEnabled
- If this value is set astrue
, the external URLs are turned on for your community. When someone accesses the archived content, the external URL redirects the member for more information.
The GraphQL response:
{
"data": {
"community": {
"contentArchiveSettings": {
"isContentArchiveEnabled": {
"key": "content-archivals.enable_content_archival_settings",
"value": true
},
"isContentArchiveExternalUrlsEnabled": {
"key": "content-archivals.allow_external_url",
"value": true
}
}
}
}
}
ATLAS
Comments