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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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.

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.