cancel
Showing results for 
Search instead for 
Did you mean: 

How to store media in a customized way?

Former Member
0 Kudos

Ahoi Hybris experts,

in order to fulfill a set of requirements, we need to store media files based on their corresponding media items, e.g. based on the catalog. This would mean, that a media file is stored like this:

 /<projectId>/<mediaFolderId>/<catalogId>/<mediaPk>.<suffix>

We already had a look at the MediaStorageStrategy and had to realize, that the context of the MediaItem is completely gone, when it comes to the store method of this strategy.

Did anyone ever face a similar situation? What is the best approach to store media in such a customized manner?

Many Thanks in advance

Greetings Johannes

Accepted Solutions (0)

Answers (0)