web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to display inline ...
Power Apps
Answered

How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 

I have created 3 screens, new screen to attach images and viewscreen to display inline attachment.

I don't want to use gallery list, instead of for the selected screen data I want to display images selectedscreen

.Selected.'{Attachments}

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a bit more about your scenario?

    Do you want to display the inline attachment within the Display screen (View Screen that you mentioned)?

    Further, could you please share mode details about your app's configuration?

     

    If you want to display the inline attachment (image) within the Display screen, you could consider add a Gallery control within the Display form of your Display screen, then add a Image control within the Gallery control to display the image.

     

    I have made a test on my side, please take a try with the following workaround:Test1.gif

     

     

    Set the Items property of the Gallery control to following formula:

    Gallery1.Selected.'{Attachments}'

    Set the Image property of the Image control within the Gallery control to following formula:

    ThisItem.AbsoluteUri

     

    The test GIF image as below:Test1.gif

     

     

     

    Best regards,

    Kris

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Kris,

     

    Thanks for your response.

    I don't see '{Attachments}' property under items of Gallery control.Can you please help?

     
    Gallery1.Selected.'{Attachments}'

     

    Thanks Kris,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Kris,

     

    I am using SharePoint list as the data source and duplicated screen to view and edit.

    in viewscreen, I want to display an inline picture/image for all attachments,

     

    Thanks,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What can we do when the attatchment does not open on Mobile phone due to Sharepoint permission?

     

    I searched a lot on this forums, a lot of answer to this questions but i did not get a conclusion for this....On web the images displays ok, but on mobile phone no....Is there a way to get only the URL of the image in a column on Sharepoint list, and then display it on PA using the URL column?

  • tdupton Profile Picture
    57 on at

    I'm having the exact same issue. '{Attachments}' is not an option for me on Gallery.Selected. If I just type it in, it's not recognized.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you have a BrowserScreen (which contains a Gallery control) within your app?

     

    I assume that you add a Gallery control within your ViewScreen, please set the Items property of the Gallery control (within the ViewScreen) to following formula:

    Gallery1.Selected.'{Attachments}'

    Note: The Gallery1 represents the Gallery control within your BrowserScreen (first screen) rather than ViewScreen. On your side, you may have a Gallery control called BrowserGallery1 within your BrowserScreen, please set the Items property of the Gallery control within ViewScreen to following:

    BrowserGallery1.Selected.'{Attachments}'

     

    Add a Image control within the Gallery control (within the ViewScreen), then set the Image property to following formula:

    ThisItem.AbsoluteUri

    Best ragrds,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Kris,

     

    Thanks for your response.

    I am not using Gallery control, I am creating a screen from SharePoint list and duplicated screen for edit and view.

    Can image control handle inline attachment view? or any approach for this.

     

    Thanks Kris!.

  • tdupton Profile Picture
    57 on at

    Don't mean to hijack Mike's thread, but I'm not sure the Support folks understand what is going on.  The issue is we don't have .

    '{Attachments}'

    as an option on Gallery.Selected.  There is '{HasAttachments}' but not Attachments.  So, we can't connect a Gallery to the Attachments Table. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here is the workaround I made it work.

    insert gallery control on screen and plug to SP list and filter it to display based on ID.

    hide gallery control

    add a new button to open a new screen.

    add a new screen and insert gallery control and now you can write based on selected gallery display image.

    however, this works on the browser, not on mobile.

     

     

  • Verified answer
    TonyO Profile Picture
    15 on at

    Hi, this seems to work for me when I change the AbsoluteUri setting to Value.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard