I have following problem:
There is a Download List Component on my site containing a heading and a list of Multimedia Links (That are mostly PDF files).
You can see an example here:
Inside the entity model class, the download items are
MediaItem's which is fine so far. The problem is, that
MediaItem only offers a method to get the file name from a Multimedia Component.
What I want is actually the Multimedia Component's name as seen in this screenshot:
I have tried to add my own class that extends
MediaItem and then add a method to get the Components name but it was without success.
Is there actually a way to access a Component / Multimedia Component's name?
I am using Web 8.5 and DXA 1.7 Java.