Hello,
Any tips on how to remove an image from a Dataverse record while leaving the remaining record intact? Currently, my users enter data and a photo into a Dataverse record through a Powerapp. I'd like to give them the option to delete the image from the app if possible.
I've tried a simple patch function to set the image to a blank: Patch(Source, Record, {Image: blank()}). But no luck.
I've dreamed up a few "hacks" (untested), but seems there should be a better way...
Here's the hacks:
- When the user presses the delete button, the Dataverse record is saved locally without the image. Then the Dataverse record is deleted, and the local copy is saved back to the Dataverse, without the picture.
- When delete is pressed, the image in the record is replaced with an image file consisting of a blank white square.
Any thoughts/advice would be appreciated.
Thanks!
Jason