Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Does anyone knows how (or if it is possible) to add the media picker control of umbraco 7 to a webform?
I have a backoffice made with webforms and I'm already using the simplemediapicker, but this control doesn't show the thumbnails of media content.
Thx
Hi Berto,
What do you mean with a custom backoffice. Do you mean a seperate application or do you mean a extra section in the umbraco backoffice.
Dave
Hi Dave,
Its a extra section on umbraco, in this case, a webform loaded into a iframe.
Berto
A in that case it is not possible. The new picker is angular based.
May I ask why you are building your section in webforms instead of angular. Angular is the recommended approach in V7.
You can have a look at my code from my DUUG and UmbUkFest talks about building custom sections in angular :
https://bitbucket.org/dawoe/duugcustomsectionshttps://bitbucket.org/dawoe/umbukfestival2014
Tim has also some good blog posts to get you started : http://www.nibble.be
dave
It was already done in webforms, and for this project there is no time to rebuild all in angular
Thx for the help ;)
So for next projects consider using angular.
You can always get the thumnail your self using the mediaservice for the selected media item as a workaround
From ApplicationContext.Services?
yep..you can then retreive the media item by id and get the file path from that
yes
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Media Picker in WebForms (Custom Backoffice)
Hi,
Does anyone knows how (or if it is possible) to add the media picker control of umbraco 7 to a webform?
I have a backoffice made with webforms and I'm already using the simplemediapicker, but this control doesn't show the thumbnails of media content.
Thx
Hi Berto,
What do you mean with a custom backoffice. Do you mean a seperate application or do you mean a extra section in the umbraco backoffice.
Dave
Hi Dave,
Its a extra section on umbraco, in this case, a webform loaded into a iframe.
Berto
A in that case it is not possible. The new picker is angular based.
May I ask why you are building your section in webforms instead of angular. Angular is the recommended approach in V7.
You can have a look at my code from my DUUG and UmbUkFest talks about building custom sections in angular :
https://bitbucket.org/dawoe/duugcustomsections
https://bitbucket.org/dawoe/umbukfestival2014
Tim has also some good blog posts to get you started : http://www.nibble.be
dave
It was already done in webforms, and for this project there is no time to rebuild all in angular
Thx for the help ;)
Berto
So for next projects consider using angular.
You can always get the thumnail your self using the mediaservice for the selected media item as a workaround
Dave
From ApplicationContext.Services?
yep..you can then retreive the media item by id and get the file path from that
yes
is working on a reply...