Is there a way OOTB to disable the Upload button in the granite/ui/components/foundation/form/fileupload control? We want to force the user to use images that were uploaded to the DAM.
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks. We were originally going to do that. I just ran across this on another site and it worked.
In 61, remove the uploadUrl property on widget node (sling:resourceType=granite/ui/components/foundation/form/fileupload) to disable the “Upload Image Asset” button
Views
Replies
Total Likes
Like all AEM components - you would need to overlay this TOuch UI component and modify the app logic to disable the button.
Views
Replies
Total Likes
Thanks. We were originally going to do that. I just ran across this on another site and it worked.
In 61, remove the uploadUrl property on widget node (sling:resourceType=granite/ui/components/foundation/form/fileupload) to disable the “Upload Image Asset” button
Views
Replies
Total Likes
Views
Likes
Replies