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, I have read the documentation for creating custom data types. However you seem to be limitted with only returning standard .net controls in the UI. I would like to have a Multiple Media Picker that comes with Umbraco 7 in my data types so that I can select multiple images for my products, is there anyway to achieve this?
Has anyone done something like this before? I would really appreciate any tips or help with this..
You can use any HTML inside your controls and thus use jQuery, Angular, etc.. There are many examples of control factories which do this in uCommerce OOTB.
Take a look at the RichTextControlFactory which uses jQuery to insert TinyMCE or the media/content pickers, which use Angular to do it.
A tool like dotPeek will reveal details in addition to the docs on the website.
Hope this helps.
Hi Soren, thank you for your reply, I have managed to use the RichTextControlFactory and implement it using dotPeek, but unlike what you suggested I couldnt find any example on implementing multi image picker in uCommerce, I am not sure what exactly I can inject into the TinyMCE in order for it to display the multi image picker on UI, enabling me to pick number of images directly from my media folders. I would really appreciate if you could forward me to an example.
Selecting multiple images was introduced in uCommerce with version 6.6.6 or better. If you can upgrade to 6.7.1, which is the latest version you should be good to go if you set up a new datatype with the new control factory.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted