Skip to main content
Skip table of contents

Operation: Patch Project Parameters

The Patch Project Parameters operation updates one or more project parameters for the specified project ID.

Note:

The changes are updated only at runtime and are stored in a .runtime file. The .param file in the repository is not updated. For more information, see Using Runtime Configurations.


Note:

If the Patch Project Parameters operation fails, no parameters are updated.

Updating Variables and Constants

Project parameters of the Constant type cannot be updated.

If project parameters of the Variable and Constant types are included in the input XML file, no parameters are updated.

Input

The adapter expects an XML document as input.

XML
<?xml version="1.0" encoding="UTF-8"?>
<Parameters xmlns:ns2="http://softproject.de/parameter/1.0"
            id="f96a6444-2331-445d-ad56-83287df56e68"
            projectName="Project_1"
            workspace="1">
   <Variable completeName="assignedExpert">assignedExpert: new value</Variable>
</Parameters>

The following elements must be included in the input:

ElementAttributeDescription
Parameters
Parameter of a project, with ID, project name and workspace

Id

UUID of the project containing a .param file with project parameters


ProjectNameName of the project in the X4 repository

Workspace

Name of the workspace in which the project is stored

Variable
Type of project parameter
Constant

Type of project parameter


completeNameName of parameter with parameter group


Output

The operation generates an output with the changed parameters.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.