![alfredorz](/community/data/avatars/m/45/45750.jpg?1712821809)
alfredorz
Reputable Poster
Hi Friends,
I'm doing a connector to upload file to Sharepoint. It's a PUT request, in the old release we created a Groovy script to upload file because in old orchestrator version didn't implement file in a PUT request. Currently, we have tools release 23 (9.2.4.7) and as a new enhancements it's possible add file to PUT request, so I'm training to improve the process but Sharepoint REST API to upload has a filename in the path, so I don't know how can mapping the file:
The request can't get variable:
Get hardcode text.
A good request should be https://graph.microsoft.com/v1.0/si...xxxDrivesIdxxxxxxxxxx/root:/test.pdf:/content
There are any way to map variable to pathing? or is always fixed in pathing? Or We used the old solution (by groovy).
Best regards,
Alfredo.
I'm doing a connector to upload file to Sharepoint. It's a PUT request, in the old release we created a Groovy script to upload file because in old orchestrator version didn't implement file in a PUT request. Currently, we have tools release 23 (9.2.4.7) and as a new enhancements it's possible add file to PUT request, so I'm training to improve the process but Sharepoint REST API to upload has a filename in the path, so I don't know how can mapping the file:
![1705589406845.png 1705589406845.png](https://www.jdelist.com/community/data/attachments/5/5245-8d7aa26151500c49213773c61c6ccbea.jpg)
The request can't get variable:
![1705589946191.png 1705589946191.png](https://www.jdelist.com/community/data/attachments/5/5247-4e8c15c59859e08448dff054cb66fab2.jpg)
Get hardcode text.
A good request should be https://graph.microsoft.com/v1.0/si...xxxDrivesIdxxxxxxxxxx/root:/test.pdf:/content
There are any way to map variable to pathing? or is always fixed in pathing? Or We used the old solution (by groovy).
Best regards,
Alfredo.