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

Community site session details

Session Id : ycgwyGmzN1QifnHqxtJ4+d
Power Apps - Building Power Apps
Unanswered

Attachements in gallery

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2023 18:40:25 by 38

hello, 

 

I have in my gallery attachments with each item.. I managed to shows it using thisitem.attachements, however, the attachements does not open and it show this error.. error attachement.png

I have the same question (0)
  • ANB Profile Picture
    7,189 Super User 2025 Season 2 on 05 Oct 2023 at 09:04:12
    Re: Attachements in gallery

    Hi @S2_0452 , Are you using attachment control within gallery? What is the Item property of your gallery?

     

    Thanks,

    ANB 

  • S2_0452 Profile Picture
    38 on 05 Oct 2023 at 07:10:53
    Re: Attachements in gallery

    IMG_6298.jpeg

    there are no OnSelect property for this control… 

  • ANB Profile Picture
    7,189 Super User 2025 Season 2 on 05 Oct 2023 at 06:31:22
    Re: Attachements in gallery

    Hi @S2_0452 , OnSelect property of the control that is highlighted:

    ANB_0-1696487450943.png

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

     

  • S2_0452 Profile Picture
    38 on 05 Oct 2023 at 06:21:02
    Re: Attachements in gallery

    IMG_6297.jpeg

  • ANB Profile Picture
    7,189 Super User 2025 Season 2 on 05 Oct 2023 at 06:14:48
    Re: Attachements in gallery

    Hi @S2_0452 , Can you send us me the screenshot of gallery. If you are showing attached file in gallery control then you need to put the above code on the OnSelect property.

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

  • S2_0452 Profile Picture
    38 on 05 Oct 2023 at 06:08:56
    Re: Attachements in gallery

    I don’t get your solution… where to put it exactly in my attachment control in gallery? 

  • ANB Profile Picture
    7,189 Super User 2025 Season 2 on 04 Oct 2023 at 19:19:46
    Re: Attachements in gallery

    Hi @S2_0452 , If your requirement is open that attachment in new tab of browser then onclick property of your control, use this:

    Launch(First(ThisItem.Attachments).AbsoluteUri)

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

  • S2_0452 Profile Picture
    38 on 04 Oct 2023 at 19:13:15
    Re: Attachements in gallery

    I didn’t configure a code for any of it…. What is it supposed to be ? 

  • ANB Profile Picture
    7,189 Super User 2025 Season 2 on 04 Oct 2023 at 19:05:49
    Re: Attachements in gallery

    Ok @S2_0452 , But on click on attachment which function you are using to open the attachment in new tab? And Also what is code that you have on click on file that you are showing in gallery?

     

    Thanks,

    ANB

  • S2_0452 Profile Picture
    38 on 04 Oct 2023 at 19:03:37
    Re: Attachements in gallery

    I’m using SharePoint lists… the items gets patched to a list and then I try to show the attachment related to each item in my gallery. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473