Select Inspector Node from Document

Hi,

My Question how I can access from an node Object to the Inspector in Backend.

I’m try to explain. I’m looping througth a Collection and build an fusion Object. After that I’m loopingh through the collection in my template and insert the elements into a table.

By adding:

<td data-__neos-node-contextpath=“{node.contextpath}”>

to the template im able to access the nodedata in the inspector. But this works only in some cases and I’m don’t know why.

Is someone able to help me understanding this?


(In the picture I’m not selected the main document. The “Spartenleiter Badminton” is selected)

grafik
(In this picture you are able to see the selection border around the TD element.

Best regards
Florian