I’ve got a question about the reference editor and the startingPoint :
I want to set the startingPoint relative to the current NodeMy first try was to set it with an eel expression:
With that configuration, I was able to set the startingPoint to the parent node. I was aware that this will work not in the creationDialog , but that’s ok.
Everything seems to work fine, and I was so happy about this, as I want to solve this problem many times. But : If I have set some references they will not show up if I reload the document, it is always empty…
Now my Question: Is it somehow possible the enable Eel on this setting? Ii really like the reference editor, but this is clearly a missing feature (or a bug…)
also needed to solve that problem for a customer project some time ago and I also thought to make the setting eel-aware. The problem is though, that the NodeTypeConfiguration is cached and not document-Node specific. So evaluating an eel-query is not possible and wouldn’t even be a good idea performance wise.
In my case, the calculated starting point / context Node didn’t depend on the current page so I AOPd Neos\Neos\Controller\Service\NodesController->indexAction and changed the starting point when the search request to the backend was performed.
to limit search to subnodes of a document. That works fine, but when loading the document, the editor tries to initialize using the literal string ClientEval: node.properties._path as context node, which of course does not work. Seems like a problem with initialization order?!