cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tjtaylor
Helper I
Helper I

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
Super User II
Super User II

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?

 

 

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (56,093)