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 / powerapps form with hy...
Power Apps
Answered

powerapps form with hyperlink from sharepoint list data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Morning Everyone,

 

I have a sharepoint list and one of the fields calculate the location of the list attachements using the formula and the result is a text in the following format with the sharepoint column name as "AttachmentLink"

 

\\x.sharepoint.com@SSL\DavWWWRoot\sites\x\Lists\Tracker\Attachments\13

 

Could you please advise the steps on how I can make the above data visible as a hyperlink and can be clicked?

 

Any help would be highly appreciated.

 

Regards

Shaheen

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share more details about the calculation of the AttachmentLink?

     

    Besides, when connected to SharePoint list, there is a way to display the Attachment by the following way:

    First(First(List1).'{Attachments}').AbsoluteUri

    Add the line above with an Image control, it will show the first attachment of the first item in list1.

    If you would like to show all the attachments with a special item, then please consider take use of an image gallery, for example:

    Under the Image gallery items property, enter the following:

    First(List1).'{Attachments}'

    Then within the Image control, under the image prperty, specify the code as below:

    ThisItem.AbsoluteUri

    Would make it work.

    Attachment.gif

     

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks and apologies Micheal for confusing you with the Attachment usage in my context. The link to the attachment folder is in the below specified format and that is the content of the column and will change with each item (XX changes based on the item ID parameter)

     

    "\\x.sharepoint.com@SSL\DavWWWRoot\sites\x\Lists\Tracker\Attachments\XX"

     

    Would you able to advise what we could do to show the above output as a hyperlink and that can be clicked?

     

    Regards

    Shaheen

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-micsh-msft 

     

    Dear Micheal,


    Could you please help with the query on getting the following data shown as hyperlink which comes from the sharepoint list as detailed in previous reply? 

     

    "\\x.sharepoint.com@SSL\DavWWWRoot\sites\x\Lists\Tracker\Attachments\XX"

     

    Regards

    Shaheen

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Could someone please help with the above request. All I need to know is if this is something that is possible as I tried several methods people have mentioned in this forum but none helped.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Any luck folks?

     

    Regards

    Shaheen

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    adding in @KeremY for help with this question

  • Verified answer
    Audrie101 Profile Picture
    Microsoft Employee on at

    Hi @Anonymous

     

    Apologies for the delay, however I also agree with @v-micsh-msft as the best approach to take from PowerApps. This will result in the most perfomant response for attachments. The good news is that you don't need to create any calculated columns in SharePoint to link into attachments. You would just reference them in the formulas. You can show the name of the file, as well as create a hyperlink to the file attachment. I'm including a link to a video that discusses how I put attachments into a collection, then show them in a clickable gallery. I'm thinking you might pick up a few helpful points in that video.

     

    https://powerusers.microsoft.com/t5/Community-Video-Gallery/Friday-Functions-Series-Putting-Attachments-into-a-Collection/m-p/97534 

     

    Let us know if this helps,

    Audrie

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Audrie, I will work with this method and have accepted your post as the solution. Much appreciated.

     

    Kind Regards

    Shaheen

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard