cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Draax Resolver I
Resolver I

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 Impactful Individual
Impactful Individual

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 Post Prodigy
Post Prodigy

Re: Loading attatchment from SharePoint List, Not working

h-nagao Impactful Individual
Impactful Individual

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

Highlighted
Draax Resolver I
Resolver I

Re: Loading attatchment from SharePoint List, Not working

Hello Hiro,

 

Thank you very much this solves my problem!

 

Johan

Super User
Super User

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,041)