contentful-export icon indicating copy to clipboard operation
contentful-export copied to clipboard

Include didn't work in queryEntries

Open hz081 opened this issue 4 years ago • 4 comments

I was trying to put: ["sys.id[in]=xxx","include=4"] as an queryEntries options. But didn't work, the result didn't include all linked items.

This behavior is very different with the contentful-api. Any suggestion how to link all related items to that entries?

Thanks

hz081 avatar Aug 20 '21 06:08 hz081

@hz081 Did you try without the include? for exporting entries, you don't need to specify it.

marcolink avatar Apr 27 '22 11:04 marcolink

@marcolink - I'm in the same situation. The entry I'm trying to export has nested structure. As @hz081 mentioned, adding include: x to your API request will get you the structure you need. How would you go about exporting an entry which has nested entries?

UXnomaan avatar Aug 12 '22 15:08 UXnomaan

+1

joaofmartinho avatar Oct 27 '22 14:10 joaofmartinho