Hi community,
I’m building a Canvas app where I want to use a custom icon (or button) as a trigger for photo upload, instead of displaying the default AddMediaButton (Add picture control).
I added the standard AddMediaButton2 (it works fine when clicked directly).
But when I try to use Select(AddMediaButton2)
in the OnSelect property of my own icon or button, nothing happens—the photo picker dialog does not open.
I have already checked that AddMediaButton2 is visible on the screen and not overlapped.
Is there any workaround, limitation, or best practice to trigger the AddMediaButton programmatically from another control?
I would like to keep my UI clean and only show a custom icon, but preserve the standard functionality (choose from gallery or use camera).
Any tips or official info? Thank you!