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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

5 REPLIES 5
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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