I am trying to build my own Media Manager in Umbraco V10 Back office and have hit a wall, I can see when you go in to the back office and look at a media item it will show you the content the items used on.
Per the above screen shot but I am struggling to replicate this in my own code, it hit or mise it it works on not.
We can't go through 100s of images and check there property's one by one to see if they are in use.
I created my own dash board to do this, but I can't find any documentation on how to check what nodes a media items used on.
Can someone point me in the correct direction please.
Referenced by the following items on media type.
Hi,
I am trying to build my own Media Manager in Umbraco V10 Back office and have hit a wall, I can see when you go in to the back office and look at a media item it will show you the content the items used on.
Per the above screen shot but I am struggling to replicate this in my own code, it hit or mise it it works on not.
We can't go through 100s of images and check there property's one by one to see if they are in use.
I created my own dash board to do this, but I can't find any documentation on how to check what nodes a media items used on.
Can someone point me in the correct direction please.
here my search code as it stands at the moment:
string searchTerm = "";
But it not returning all the results where am I going wrong.
Hi,
I might be wrong, but I think that info is stored in the Relations table, so you might be able to use the Relation API to grab it?
Cheers
is working on a reply...