cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tjtaylor
Level: Powered On

Add an attachment to a gallery

Hello!

 

I have a form for users to complete the includes adding an attachment to a particular meeting that had with a client. It works fine.

 

I have a gallery that shows all the meetings the user has had with a particular client. How can I show the attachment in the gallery?

 

The form is a SharePoint list (Notes) with a lookup to the organization in another SharePoint list (Contacts). The attachment is saved in the Notes list.

 

I hope this makes sense. 🙂

3 REPLIES 3
GarethPrisk
Level: Powered On

Re: Add an attachment to a gallery

You could nest another Gallery (galNotes) in the Contacts Gallery.

Set the Items of the nested Gallery to be

  • Filter(Notes, Contact = ThisItem.Contact)
  • For example, but I think your relationship structure may need to go through a Meetings list
    • Filter(Notes, Meeting = ThisItem.Meeting)

Will take some tweaking to make the formatting work well, but this will allow you to accomplish this. Presumably, given the 1:N relationship, there could be multiple Notes per Contact?

 

tjtaylor
Level: Powered On

Re: Add an attachment to a gallery

 
tjtaylor
Level: Powered On

Re: Add an attachment to a gallery

I may be a bit confused. How will the attached file show up in the gallery? Will it just be the name of the attachment or will they be able to click on the attachment to view it?

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,365)