Skip to main content

Notifications

Copilot Studio - General
Answered

How to get file or folder link within Sharepoint List

Posted on by 18

Dear all

 

I have done with my flow and working fine, Iam just having one addition to that is I want to get the File or Folder link from the sharepoint

 

How I can access that SharePoint link with SharePoint list??

 

Also how to map into Power automate

 

Please advise

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: How to get file or folder link within Sharepoint List

    Hi @mango2407 ,

     

    I recommend using REST API to get files inside the SharePoint list, using Power Automate.

    https://docs.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/guidance/working-with-send-sp-http-request

     

    In the HTTP request, you can follow this template to get files

    /_api/Web/Lists/getByTitle('<list title>')/items?$select=File/ServerRelativeUrl&$expand=File

    You can see this post on the forum: https://sharepoint.stackexchange.com/questions/118479/is-there-a-way-to-get-all-file-urls-for-a-library-with-a-single-rest-request

     

    And inside your Power Automate, you can use Markdown to show items inside the PVA chatbot, returning the markdown formatted response to the chatbot.

    https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support 

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Tuesday Tip #2 Global Search…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,651

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,493

Leaderboard