Forum Discussion
Bilal Fazli
Sep 27, 2016Brass Contributor
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...
- 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
Tony Hignett
Mar 24, 2017Copper Contributor
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
Sohail Zafar
Oct 31, 2017Copper Contributor
Perfect. Tony Hignett's solution works for files with Large names.