[SOLVED] Generate list of content node names & how...
# help-with-umbraco
m
In Umbraco 13's RTE you can insert links to unpublished documents so that when that document is published the link is automatically updated and becomes a working valid link. I have over 300 pages (news articles) that have links all over my site to unpublished documents using this method. Is there a way to generate a list of the Content Node Name and a count of how many times it is linked to? It does not need to be a webpage, a SQL query would work too. The goal is to get a list of how many times an unpublished node is linked to so I can prioritize which nodes to work on next and get published to fix as many broken links as possible as fast as possible.
I just wanted to bump this before the weekend to see if anyone has any ideas on how this might be done, thanks.
So I just noticed that pages in the "info" tab have the "Referenced by the following items " section. If I could programicly read that I would have all the info I needed. Is this possible?
So I just found https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/extending/property-editors/tracking talks about the section I just found and has some code that might work, I will use this as a jumping point but am open to any tips or pointers the pros might have
d
The reference list on the info tab is powered by the relations service
Check out
IRelationsService
m
Thanks. Found https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/management/models/relation which looks like it is what i need to build the data page i want.
Thanks for the help, knowing about that service I was able to get a generated list.
30 Views