Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
JAC65
Frequent Visitor

Select an image from a file selection dialog

Hi, how is it possible to implement the selection of an image? There is a class called ImageUpload (inherited from the FormattingComponent) that presents a control in the user interface that allows you to select an image file, but I cannot map it with the corresponding property type in the capabilities.json file. There is no such thing as an "image".

 

Any ideas?

 

Thanks.

6 REPLIES 6
JeanMarcP
New Member

Hello,

Same issue... The ImageUpload seems promising, but without the proper type in capbilities.json it's practically unusable!

Sarentronic
New Member

I'm looking for the exact same thing and can't find any documentation on this. It sure would be nice if MS had better documenation or at least had the core visuals in a public repo. My next step is to try to explore github for user contributed custom visuals that incorporate this functionality.

Anonymous
Not applicable

Hi @JAC65 ,

I'm not clear about your requirement. Could you please explain it with more details(like scenario, screenshot etc.)? Thank you.

Best Regards

Hi, i want to configure my custom visual so that the user can select an image, which will appear as a header. For this, in "settings.ts" I have added this code:

JAC65_1-1670839108425.png

As a result, a control labeled "Imagen" appears, displaying a dialog for selecting an image.

JAC65_2-1670839531375.png

The problem is that it does not keep the selected file. In the file "capabilities.json" I do not find any suitable data, when defining the property, which I associate with the file selected in the dialog.

JAC65_3-1670839860272.png

Are there any examples of using these types of controls for image selection?

JAC65_4-1670839994393.png

 

 

Thanks a lot.

 

Regards.

 

 

 

Did you find a solution to this one? I'm trying to figure out the same, and stuck just like you.

Hi,

 

Unfortunately, no. In the end, I didn't implement that functionality and I haven't studied it again.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.