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
Hello,
I'm building a custom grid control and I need to be able to browse for a document / file. ideally i don't want to show any images - is this possible? Here's my code so far - are there any other settings I can change?
$scope.mediaPickerOverlay = {}; $scope.mediaPickerOverlay.view = "mediapicker"; $scope.mediaPickerOverlay.startNodeId = $scope.model.config && $scope.model.config.startNodeId ? $scope.model.config.startNodeId : undefined; $scope.mediaPickerOverlay.startNodeIsVirtual = $scope.mediaPickerOverlay.startNodeId ? $scope.model.config.startNodeIsVirtual : undefined; $scope.mediaPickerOverlay.cropSize = $scope.control.editor.config && $scope.control.editor.config.size ? $scope.control.editor.config.size : undefined; $scope.mediaPickerOverlay.showDetails = true; $scope.mediaPickerOverlay.disableFolderSelect = true; $scope.mediaPickerOverlay.onlyImages = false; $scope.mediaPickerOverlay.show = true;
Hi Paul
Just a thought - would you be able to use a multi node picker, set it to media and then in the Allow Items of Type, add the "File" media type ?
If you only want one file picked then you could set the min / max to 1.
Cheers, Nigel
Hi Nigel,
Thanks for help - I don't suppose you know where I can get the angular code to implement a multi node tree picker?
Thanks
Paul
No sorry I don't and that thought did come to mind when responding.
And sorry, I am not much help in the angular department - something I've not got to grips with...
Good luck in your quest.
Nigel
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using the mediapicker for files / documents only
Hello,
I'm building a custom grid control and I need to be able to browse for a document / file. ideally i don't want to show any images - is this possible? Here's my code so far - are there any other settings I can change?
Hi Paul
Just a thought - would you be able to use a multi node picker, set it to media and then in the Allow Items of Type, add the "File" media type ?
If you only want one file picked then you could set the min / max to 1.
Cheers, Nigel
Hi Nigel,
Thanks for help - I don't suppose you know where I can get the angular code to implement a multi node tree picker?
Thanks
Paul
Hi Paul
No sorry I don't and that thought did come to mind when responding.
And sorry, I am not much help in the angular department - something I've not got to grips with...
Good luck in your quest.
Nigel
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.