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 / Form Attachments to Ga...
Power Apps
Answered

Form Attachments to Gallery HTML URL

(0) ShareShare
ReportReport
Posted on by 55

Hello. 

I have a Sharepoint Form that has attachements allowed. 

I would like to post html url links in a gallery after the Form is submitted and am trying to build the URL. 

In my Attachment Control, the onAddFile property I do a collect:   

 

Collect(AttachmentFileName, {AttchName: DataCardValue2.Attachments.Name})

On the Onsuccess Control of the Form I add the code:  

 

UpdateContext({var_AttachmentLinks: Concat(AttachmentFileName,"https://ecklerelectric.sharepoint.com/sites/Service/Lists/List_ServiceSupplyTickets/Attachments/"&Form1.LastSubmit.ID&"/"&AttchName.Nam

I'm getting killed on the AttchName_Name. 

I see my AttachmentFileName collection isn't looking right, like there is a table within a table?  But when I dig down a level I find the file name of the attachment.

 

Am I making sense and if so, does anyone have a suggestion?  I've spent a solid two days trying to figure this out before asking for help. 

Thanks 

 

Categories:
  • Richard-Eckler Profile Picture
    55 on at

    been having trouble posting...just seeing if I really posted a topic.  

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Richard-Eckler ,

     

    It seems that you have posted a duplicated thread below:

    https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Sharepoint-Form-Attachment-to-Gallery-HTML-URL-Link/m-p/369668/highlight/false#M106504

    Please see the replies there.

     

    Regards,

    Mona

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard