Details
-
New Feature
-
Resolution: Outdated
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
Description
The current dependencies tab/control can currently be used in a page property, to show where that page is used (IIRC?), as well as what assets that page links to (other pages, dms documents, ...)
It can not be used in the DMS dialog. I naively tried adding it to the default dms dialog, but a document would always claim to have no dependencies/references.
However, I found out that the info.magnolia.module.dependencies.Dependencies#getReferencesTo implementation should be finding those references. This method is apparently only used in DependenciesServlet. I'm not sure what the intended use of the servlet is (please enlighten me!), but indeed, pointing my browser to: http://localhost:8080/.magnolia/dependencies?repository=dms&path=/demo-docs/sheet-music/Bach/SonataIV-a4 – shows me a list of pages where that specific document has been used.
Therefore, I'm assuming the path to close the gap between the dialog control and those dms dependencies could be pretty small.
Users often ask about ways to figure out where documents are used.