Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export content with linked entries #1085

Open
UXnomaan opened this issue Aug 12, 2022 · 1 comment
Open

Export content with linked entries #1085

UXnomaan opened this issue Aug 12, 2022 · 1 comment

Comments

@UXnomaan
Copy link

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']
}
@joaofmartinho
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants