Hello, what is the correct way of getting the outbound dependecies of a content? (as show in the Dependecies widget).
The node has a _references field(?) that can be used in a query, but it is not present on the object returned by either get/query functions on either the content or node/RepoConnection libs.
I have tried using the getOutboundDependencies method of the com.enonic.xp.core.impl.content.ContentServiceImpl class, but I don’t know how to properly hook into a currently running content service or initializing a new one.
So, what is the proper way of getting outbound dependencies of a content?