Skip to content

Sage CRM 2022 R2 has been released

Published   1 September 2022     Less than to read

Upload file to specified folder

We have added a hiddenUserFolder parameter to the Upload a file to a folder endpoint. You can use this optional parameter to specify the name of a subfolder in {Sage CRM installation folder}\Library\ to upload the specified file to. If the subfolder does not exist, the endpoint creates it.

When you omit the hiddenUserFolder parameter, the file is uploaded to {Sage CRM installation folder}\Library\TEMP\{SID}, where {SID} is the session ID you use to authenticate your call. By default, Sage CRM is installed to %ProgramFiles(x86)%\Sage\CRM\CRM.

To try out the hiddenUserFolder parameter, use a Postman collection provided for Sage CRM 2022 R2:

  1. Import the .json files from the Postman collection into Postman.
  2. Configure Postman as described in the Sage CRM 2022 R2 REST API reference.
  3. In the imported collection, expand the RESTful API endpoints (formerly SData) folder.
  4. Run the first request to obtain a session ID.
  5. Run the Upload a file to a folder request.