Skip to main content Skip to complementary content

Extension: Create or update a file in an extension

Information noteLOCKED.

This API is extremely reliable and will not be broken unless absolutely necessary.

Method

POST

Path

/qrs/extension/{extensionName}/uploadfile?externalpath={externalpath}&overwrite={overwrite}

Description

Create or update a file in the extension with the name {extensionName}. {externalpath} is the relative path to the file in the extension. By default, files in an extension are stored at %StaticContentRoot%\Extensions\{extensionName}\. {overwrite} is optional and set to false by default.

Body

File to create or update

Return value

string

The string contains the external path to the file.

Optional parameters

  • {overwrite}: If this parameter is set to false, which is the default setting, an error (409) is returned if the file that is provided in the body has the same name as an already existing file. If this parameter is set to true, the file provided in the body will overwrite any file with the same name.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!