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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I want to provide link...
Power Automate
Unanswered

I want to provide link to the attachment in my body field of the email in the separate Column for respective list item

(0) ShareShare
ReportReport
Posted on by

In want to get attachment Link to teams meeting which I have created, as I cannot sent direct attachments to  teams meeting. My List can have multiple attachment uploaded by a single user and thus I want to paste there link in my mail in front of their name.

Attaching flows
This is the html formatting and want to add attachment header to this)This is the html formatting and want to add attachment header to this)4.png3.png1.png

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @Anonymous , You need to have the URL constructed in below format:

     

    https://<root URL>/sites/NameOfSite/Lists/NameOfList/Attachments/IDOfItem/NameOfAttachmentWithExtension

    For example:


    https://abc.sharepoint.com is my root URL
    TeamSiteforPowerApp is my NameOfSite
    TESTING11 is my NameOfList
    1 is IDOfItem
    PIC.jpg NameOfAttachmentWithExtension

    So my URL will look like:
    https://abc.sharepoint.com/sites/TeamSiteforPowerApp/Lists/TESTING11/Attachments/1/PIC.jpg

     

    You need to use concat function from expression to construct the URL for each item.

     

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

    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


  • Community Power Platform Member Profile Picture
    on at

    @ManishSolanki Do you have any idea about this?

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    I may give a try. As per my understanding, you have a custom list with attachment(s), this list contains details of each team meeting. You need to create an html table of each list item with attachments link. Could you please share the list's structure or columns of SharePoint list?

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Columns (attachment is also there)Columns (attachment is also there)

    Hi @ManishSolanki , thank you for replying. These are the columns, Attachment is also a column, And i want to modify the above flow only, Screenshots for that I have provided above. The html formatting is also there and i want to add one row to the existing format of the attachment's and it should have the link to that particular attachment for that list item. user can input multiple attachments.

     

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    I have a sample flow for you:

     

    Add "Get attachments" action, that accepts ID of list item from Get items in "Apply to each" action. 

    ManishSolanki_0-1697902030772.png

     

    Now, add Select action to create an array of links for all attachments for a list item. Pass the body of get attachment in "From" parameter:

    ManishSolanki_1-1697902209963.png

    Click "Switch Map to text mode" button:

    ManishSolanki_2-1697902303390.png

     

    Choose "AbsoluteUri" property from the dynamic content & set in the Map parameter:

    ManishSolanki_3-1697902487232.png

     

    Finally, add Compose action to join all the link of attachments using html line break tag '<br>':

    ManishSolanki_4-1697902667265.png

    join(body('Select'),'<br>')

    You can create a new column 'Attachment(s) link' in html table & use the output of compose action to set the value of it.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Should I put the compose outside the apply to each loop? @ManishSolanki 

     

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Yes, you need to put all those actions in the "Apply to each" block. I would suggest you add these actions in the same loop where you are iterating each list item for creating an html table dynamically.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hi @ManishSolanki the flow is working but

    Its is giving me the URL as I want But when I click on the URL Its not opening the file or unable to download that file.
    It is throwing error 404 file not found

     

    Mapping values HTML.pngNew1.pngnew3.pngNew4.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard