Retrieving a node in a different dimension


(Patrick Reck) #1

We recently had to retrieve a node in alternate dimension, spent a long time attempting to do so, and figured someone else could face the same problem.

The following code retrieves the en version of our node.

@override.englishContext = TYPO3.TypoScript:RawArray {
	dimensions = ${{language: ['en']}}
	targetDimensions = ${{language: 'en'}}
}

nodeLink = TYPO3.Neos:NodeUri {
	node = ${q(node).context(englishContext).get(0)}
}

(Sebastian Kurfuerst) #2

Hey Patrick,

thanks for your post :slight_smile: I moved it to the FAQ category!

All the best,
Sebastian