Skip to content

Export content with linked entries  #1085

Description

I am trying to create a migration script for moving my content from a sandbox environment to our master environment.

If I do it with queryEntries and include each linked entry id, I can use the import tool and can see the content being imported for the included ids so for example:

const options = {
  spaceId: '<space_id>',
  managementToken: '<content_management_api_key>',
  queryEntries: ['sys.id[in]=xxxx,xxxx']
}

However, that's not easy to do for a page content type where there are multi level linked entries. is there any way to use links_to_entry to resolve all the entries from a single id? something like:

const options = {
  spaceId: '<space_id>',
  managementToken: '<content_management_api_key>',
  queryEntries: ['links_to_entry=xxx']
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions