Forum Discussion

Bilal Fazli's avatar
Bilal Fazli
Copper Contributor
Sep 27, 2016
Solved

SharePoint REST API moveTo URL limitation

Hello community,   I am using SharePoint REST API in SharePoint (Online) 2013 Workflow to move documents b/w different libraries. It was working fine for files with small names but it failed for do...
  • Tony Hignett's avatar
    Tony Hignett
    Mar 24, 2017

    Hi Brent

     

    You can put the newUrl variable in a Dictionary.

    The assign the Dictionary as the parmeters of the Call HTTP web service action.

    The POST method will include it as payload.

     

    then Build {...} Dictionary (Output to Variable: parameters)

     

     

    The pass the Dictionary to the Call HTTP web Service action...

     

    The Call [My Site/MyList/MyItem etc.]/file/MoveTo() HTTP web service with Variable:parameters (Response Content to.....

     

    Hope this helps,

    Tony

Resources