Extracting Collections and Related #1845
-
Could you plese help in figuring what script should I add to the postscript to export the folder/collection in which an item is located and the "related" items? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
The collections are available as
but since collections always carry all their collection keys, but only the collections being exported are actually exposed to the translator, you need to check whether they exist, and it'd become
related items can be found in |
Beta Was this translation helpful? Give feedback.
The collections are available as
item.collections
which is an array of keys; the details of the collections are available asTranslator.collections
, addressable by key. If you want all collection names in the fieldcollections
you'd dobut since collections always carry all their collection keys, but only the collections being exported are actually exposed to the translator, you need to check whether they exist, and it'd become