Start a conversation

Query Archival Settings

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 as true, the content archive feature is turned on for your community.
  • isContentArchiveExternalUrlsEnabled - If this value is set as true, 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
        }
      }
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments