Start a conversation

Enabling the Content Archive

Note: Only Administrators and Moderators can enable the content archive feature.

Use the setContentArchiveSettingsOnCommunity mutation to enable the content feature and external URL.

When archiving, you can provide an external URL that is outside your community. When someone accesses this link, they will be redirected to the external URL for related content.

Example: GraphQL Mutation

mutation {
  setContentArchiveSettingsOnCommunity(settingsInput:{
    isContentArchiveEnabled: true,
    isContentArchiveExternalUrlsEnabled: true
  }){
    result
  }
}

The settingsInput description 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.

GraphQL Response Example

{
  "data": {
    "setContentArchiveSettingsOnCommunity": {
     "result": true
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments