cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bloodoff
Level 8

Re: PowerApps doesn't support images from SharePoint lists

Hi everyone,

Not sure if I'm in the right topic, but I have a question on how I can pull an attachment name to create a link.

As you probably know, MS just added an "Attachments" control into Powerapps. It is though yet a read only control with a full functionality (upload files to lists) coming late January 2018, which is fine.

So, that "Attachments" control does display names of the files attached but I cannot retrieve their names.

What I'm trying to do, I added an "Image" control where I wanna display the picture of the attached image.

The image URL looks like this:

https://company.sharepoint.com/department/Lists/List/Attachments/1/image.jpg"

where "1" is the ID of the list item.

So I can:

- hardcode the beginning of the link

- pull the ID of the list item (DataCard3)

- but I cannot get the name of the attached image.

Concatenate("https://company.sharepoint.com/department/Lists/List/Attachments",DataCard3.Default,DataCard2.'{Atta...}')

Is there any way? Thanks!

PS. I have it working this way in the InfoPath, Employee Directory list where people attach users' photos that are displayed within the form.

 

edduval
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

This is well over a year ago.  Do you have any intentions of making this work?

Narula_Srinivas
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

@Microsoft -  What is ETA of this feature?

OrangeJuiceCup
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

I also had trouble getting images to show at first but solved it by making sure my image URL actually ends in a supported image format file extension such as *.jpg. Some image URLs may not end with a proper file extension. You must choose one that does. Otherwise it will cause trouble when PowerApps attempts to display the SharePoint link to it.

lcoates
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

I have gotten this method to work, but you still have to manually populate the new Link (Picture) field. I tried to write to it from PowerApps, but it says its Read Only, even after changing it using PowerShell. 

Juergen
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

I use following solution.

I have a sharepoint with an image gallery and a list. My list have two fields, one text field for the link und one imgage field. The setting of the image field is "picture" not "link". The image gallery work in classic experience.

 

  • send picture by powerapps to an sharepoint image gallery with a fixed name. You can do it from camera or from your device,
  • send fixed name of picture from powerapps to a text field in the list
  • create a workflow in sharepoint to copy text field in the image field. You can also use flow. I think it will be running too.

 

 

 

MasterOffice365
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

Considering this particular topic was initially posted nearly 2 years ago, I suspect there would be quite a lot interest if someone were able to find a solution that would enable users to not only view any image from any SharePoint library within PowerApps, but furthermore provide the flexibly to render that image within PowerApps at any resolution they so desired (on any platform naturally).

 

By example, even an image as large as 21MB stored in a Site Assets library, could in fact be rendered within PowerApps as a 78x48px thumbnail as small as 2.38KB, and as equally as high-quality 110KB, 640x360px rendition of that same image could be, and equally any other size resolution of your choice...

 

Demo.PNG

 

 

 

 

 

 

Spoiler
Solution coming in some way or form imminently..

Brian Edwards

MCSM Charter SharePoint

 

Re: PowerApps doesn't support images from SharePoint lists

 
Any image stored in SPO, rendered within a PowerApps app in any resolution as you so desire.
 

  

38 MB Image

  • Thumbnail as small as: 3-5 Kb

  • 2500px rendition: 200 Kb

Re: PowerApps doesn't support images from SharePoint lists

SharePoint Images Powered Up In PowerApps

https://www.myconsult.co.za/residue/brians-blog/

 

Any image stored in SPO, rendered within a PowerApps app in any resolution as you so desire.

 

Desktop Video Demo

Mobile Video Demo

 

 

 

Highlighted
KProuty
Level: Powered On

Re: PowerApps doesn't support images from SharePoint lists

Incredibly moving story, and your clear explanation gives hope that this Power User (not a coder) can replicate this.

 

I'll update you on my progress. Folks, make sure you read this!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 33 members 3,867 guests
Please welcome our newest community members: