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

Loading attatchment from SharePoint List, Not working

Hi,

 

Im trying to load an image from a SharePoint list with command: First(Gallery1.Selected.'{Attachments}').AbsoluteUri.

 

On my computer it works fine (in studio mode), however on mobile devices with the same account the image doesn't display, neither on another computer with the same O365 account.

 

 

Is this a known bug?

 

Thanks- Johan

1 ACCEPTED SOLUTION

Accepted Solutions
h-nagao
Level 10

Re: Loading attatchment from SharePoint List, Not working

Hi,
I faced same issue and resolved by replacing AbsoluteUri by Value.

Thank you,
Hiro

View solution in original post

4 REPLIES 4
NigelP
Level 8

Re: Loading attatchment from SharePoint List, Not working

h-nagao
Level 10

Re: Loading attatchment from SharePoint List, Not working

Hi,
I faced same issue and resolved by replacing AbsoluteUri by Value.

Thank you,
Hiro

View solution in original post

Draax
Level 8

Re: Loading attatchment from SharePoint List, Not working

Hello Hiro,

 

Thank you very much this solves my problem!

 

Johan

Dawidvh
Level 10

Re: Loading attatchment from SharePoint List, Not working

Hello @Draax . In case you still have questions on the topic, we go through this in some more detail in this video

Display SharePoint List Attachments in PowerApps (2019)

 

The .AbsoluteUri requires the user to be logged into the SharePoint front-end (which is not always the case obviously), while .Value uses the SharePoint connector to fetch the attachment(s) so this is a better option.

 

Dawid van Heerden

Follow on Twitter: @davestechtips

Subscribe to YouTube: https://www.youtube.com/davestechtips?sub_confirmation=1

**If you found this reply helpful, please mark this as the answer to close the topic and make it easier to find for other people with similar questions. AND we get points for it 😉

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,398)