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 / ThisItem.Attachments ?
Power Apps
Answered

ThisItem.Attachments ?

(0) ShareShare
ReportReport
Posted on by 1,001

I am trying to make a gallery of attachments (images)

 

I have Gallery.Items = ThisItem.Attachments but "Attachments" doesn't even populate in the intellisense ... any idea why this is happening? 

 

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    For the Image to display Image and Label required

     

    Image control of Image Property : First(ThisItem.Attachments).Value

     

     

    Label control text property should be

     

    First(ThisItem.Attachments).DisplayName

     

  • cds Profile Picture
    1,001 on at

    there are up to 10 attachments per list item though..

  • Verified answer
    cds Profile Picture
    1,001 on at

    Workaround: 
    LookUp('Datasource', ID = ThisItem.ID).Attachments

     

    😉

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Did you ever figure this out?

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Insert a Vertical Gallery (Name: Gallery 1) to display the SP List. Set Gallery Items property to SP List Name.

     

    StalinPonnusamy_0-1678160630128.png

    Note: In the above example, PowerPlatform is a SP List Name.

     

    Insert another Gallery (Name: Gallery 2) and set the items property to

     

    Gallery1.Selected.Attachments

     

    Gallery 2 should have two controls

    1. Insert Label control and set the Text property to 

     

    ThisItem.DisplayName

     

     

    2. Insert image control and set the Image property to 

     

    ThisItem.AbsoluteUri

     

     

    Sample

     

    StalinPonnusamy_1-1678160849299.png

     


    Thanks, Stalin (Microsoft MVP)
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

  • kavilla Profile Picture
    3 on at

    Thanks! made it work with this

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard