using a global module acros multiple solution

I’m currently creating a global module that will be used by several solutions. In this module I’ve put my menu_background form as that has to be the same for each solution. On this form I’ve got a label that has styleclass with a solution_logo.png. Is it possible to put in each solution a different solution_logo.png in the media of my solutions so I can use the same styleclass and not have to worry about the logo?
Or is it better to use form inheritance and put a menu_background_base form in my global module and inherit that form in all my solutions and set the logo that way?

Hi Jos,

you could set the bytes of ‘solution_logo.png’ during startup using the solutionModel.

var _jsMedia = solutionModel.getMedia('solution_logo.png');
_jsMedia.bytes = myNewBytes;