# SetProperties method

Sets some properties for a variable.

Information note

The identifier of a variable cannot be modified.

Information note

You cannot update the properties of a script-defined variable using the *SetProperties method*.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qProp | Information about the variable. | Yes | [GenericVariableProperties](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-genericvariableproperties.htm) |

## Access Control

`update`

## See also

[Update the properties of a variable](https://help.qlik.com/en-US/sense-developer/November2025/csh/engineapi/update-property-variable)