Skip to main content

Notifications

Power Platform Community / Forums / General / How to get file or fol...
General
Answered

How to get file or folder link within Sharepoint List

Posted on by

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

Categories:
  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,459 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 

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,968

#3
Expiscornovus Profile Picture

Expiscornovus 1,671