web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Extend file types in module field type "image" and Sitebuilder Media Library upload

(0) ShareShare
ReportReport
Posted on by 35

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:

  1. 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
  2. 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" 
I have the same question (0)
  • Suggested answer
    Ana Teles Profile Picture
    on at

    Hello Daniel,

    I will leave this for the community to answer since this is about customization. Let's see if anybody has experienced the same and can advise for you anything.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 196 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 139 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans