Using Umbraco.MediaPicker in custom property editor
I'm building my own custom property editor with angular.js. I'm trying to build a wizard like property editor where the user gets presented with differtent options depending on his input. Now I would like to incorporate the standard Umbraco.MediaPicker, for UI consistency sake. I know it's possible to call the media dialogue with the dialogService but I also would want the same input control (the plus icon in the dotted square container) on my form.
Can't find any documentation on this and is this even possible?
I just copy/pasted the Umbraco.MediaPicker code from the Umbraco source in my own property editor files and this actually works fine but I can't imagine their isn't a easier/better way to do this.
Using Umbraco.MediaPicker in custom property editor
I'm building my own custom property editor with angular.js. I'm trying to build a wizard like property editor where the user gets presented with differtent options depending on his input. Now I would like to incorporate the standard Umbraco.MediaPicker, for UI consistency sake. I know it's possible to call the media dialogue with the dialogService but I also would want the same input control (the plus icon in the dotted square container) on my form.
Can't find any documentation on this and is this even possible?
I just copy/pasted the Umbraco.MediaPicker code from the Umbraco source in my own property editor files and this actually works fine but I can't imagine their isn't a easier/better way to do this.
is working on a reply...