Hello
I'd like to allow a user to copy an image control's image to the clipboard, or otherwise allow the user to lift that image to use in, e.g. a Word document.
The Copy function only supports text, and there's no right-click "Save" option for the image control. Can this be done?
thanks
Martin
Beware taking Copilot answers as the truth!
It had given me a static URL to use which, before adjustment for my actual org URL was
https://[ORG URL].dynamics.com/Image/download.aspx?Entity=account&Attribute=crc2a_image&Id=
Copilot said to add the GUID of the image onto the end of the URL and change the text for the correct org URL.
What it took me ages to discover is that this URL has been copied from a blog article written by someone where the logical name of their table (Entity) is "account" and the logical name of the column was crc2a_image.
I put the name of my table, and the column name in, but it still didn't work.
From sheer curiosity and experimentation, I discovered that the GUID that was actually needed was the RECORD GUID not the Image GUID. This is column which has the same name as the table.
Now it works!
Another possible option is to be able to click on a button and for the full image to launch on another browser tab. I can't seem to get that to work either?
Agreed, a Save As option for images would be useful.
I'd recommend suggesting this on Power Apps Ideas:
https://ideas.powerapps.com/d365community/forum/f1458c72-ae29-ed11-9db2-000d3a8c451e
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Connect with me online.
Hello Keith,
The image is currently stored in a Dataverse table. Each record has an image associated with it, and is displayed in the gallery. When the user selects an item in the table, an Image control shows the image ("gallery1.Selected.Image1.Full")
I just need the user to be able to select the image and drop it into their current document (Word, Excel etc). Why the image control doesn't have a simple right click "Save as" option is beyond me.
thanks
Martin
Hi @Martin_W,
As you say, the Copy() function currently only supports text so unfortunately that isn't an option.
One option could be to save the image to a Dataverse table image column then either:
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Connect with me online.
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional