The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Hello,
Same issue... The ImageUpload seems promising, but without the proper type in capbilities.json it's practically unusable!
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.
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:
As a result, a control labeled "Imagen" appears, displaying a dialog for selecting an image.
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.
Are there any examples of using these types of controls for image selection?
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.