Hello,
An addon I'm developing uses a modx-combo-browser with an attached media source. I'm struggling with how to use it correctly and my current idea is as follows:
1. Use a system setting to store Id of the media source used to store the files
2. Somehow read that setting in my JS that displays the modx-combo-browser (how?)
3. In the transport package, create the media source (how?) and save its ID in the setting (how?)
As you can see, I have a couple of how? questions

Since Media Sources seem to be quite new, and so am I to modx, I couldn't really find any useful answers. I would appreciate your help.
Cheers!