[Neos] ts2 query to find a node with a specific property value

Dominic Garms djgarms at gmail.com
Tue Jan 28 18:17:18 CET 2014


I am stuck with a query over the whole document nodes finding one with a 
specific property. I need this for a specific startinPoint for a menu, 
it should be a similar feature with ID's in TYPO3 CMS. I tried following:

startingPoint = ${q(site).children().find('[instanceof 
TYPO3.Neos.NodeTypes:Page]').property('_name') == 'blog'}

Would be great if someone has an idea,


More information about the Neos mailing list