Inside of my (custom) Sitebuilder modules I'm using the core image implementation/component similar to existing OOTB modules from @msdyn365-commerce-modules.
Simple example how I set up the field configuration in my module definition file:
{
"$type": "moduleDefinition",
"name": "dummy",
"config": {
"image":{
"friendlyName": "Image",
"description": "Footer item image",
"type": "image"
}
}
}
Two questions:
- How can I extend the filetypes that can be uploaded with the Sitebuilder Media library? Example: I tried to upload an .ico file. I got an error message saying it's not possible to upload this file
- How can I extend the "file picker dialog" where I can select the needed image for the field? Right now it looks like that I can only select .png and .jpg. Example: I uploaded an .svg but it's now selectable inside the "file picker dialog"


Report
All responses (
Answers (