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 Automate / Send a HTTP request to...
Power Automate
Answered

Send a HTTP request to Sharepoint Document Set in the Library

(0) ShareShare
ReportReport
Posted on by 633

This is a library of the document set.

I created this one to add a “link”of the below list item. But for some reason, it doesn’t work. It looks like the body part has some errors. Could you do me a favor?

 

happyyear_0-1684766554711.png

 

 

This below is a list. Not library but the above document set is in the library.

 

happyyear_2-1684766609320.png

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @happyyear,

     

    You want to update a property of the document set, correct?

     

    As far as I am aware you can use the regular items method instead for this. No need to use the listdata.svc for this.

     

    Have a look at the last part of this blog written by Ben Prins and try that:

    https://www.benprins.net/2020/07/10/power-automate-creating-and-updating-a-document-set-in-sharepoint/

     

  • happyyear Profile Picture
    633 on at

    @Expiscornovus 

    Thank you for your help. The link you provided also uses ' listdata.svc ' 

    I did the same but it didn't work. What I want to add one link under the WebUrl. But never worked. 

    The document is a default of the document set. 

    happyyear_0-1684786374585.png

     

  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @happyyear,

     

    I was referring to the last screenshot in that blog, the Update document set action with the nometadata and MERGE headers. That one is not using the listdata.svc, but just the items.

     

    lastrequest_mergeheaders.png

     

    Below is an example in my own dev environment.

     

    Uri

     

    _api/web/lists/getbytitle('@{variables('LibraryName')}')/items(2)

     

     

    Headers

     

    {
     "Accept": "application/json;odata=nometadata",
     "Content-Type": "application/json;odata=nometadata",
     "If-Match": "*",
     "X-HTTP-METHOD": "MERGE"
    }

     

     

    Body

     

    {
    "WebUrl": {
    "Description": "Power Automate ftw!",
    "Url": "https://powerusers.microsoft.com/t5/Building-Flows/Send-a-HTTP-request-to-Sharepoint-Document-Set-in-the-Library/m-p/2165562#M240216"
    }
    }

     

     

    weburl_example02.png

     

    The test result in the metadata of the document set with item id 2

     

    weburl_example.png

  • happyyear Profile Picture
    633 on at

    @Expiscornovus 

    Thank you for  your help again. 

    May I have one more question?

    Would you mind letting me know where/how I can find 'WebServiceUrl' on this workflow?

    happyyear_0-1684933592990.png

    https://www.benprins.net/2020/07/10/power-automate-creating-and-updating-a-document-set-in-sharepoint/

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @happyyear,

     

    As far as I am aware that is the LibraryName. If your library name is Documents it would be:

    _vti_bin/listdata.svc/Documents

     

  • happyyear Profile Picture
    633 on at

    @Expiscornovus Thank you so much. I followed the instructions but it didn't work. I will make more efforts on that. 

    Thank you for your help again! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard