---
title: "setProjectAppData"
slug: "api/session/operations/setprojectappdata"
sidebar:
  order: 157
---

<a id="ref-3868abc0eb2f"></a>
<a id="ref-de57fbbda8d4"></a>
<a id="ref-3dfcaf1e46b0"></a>

## Synopsis

```text
void setProjectAppData(SessionId sessionId, string appKey, string[] data)
throws SessionServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [SessionServiceFault](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault#ref-30a5c7817f4a)

The `setProjectAppData` operation is used to attach application-specific (or client-specific) data to the project. This data can be accessed using the `getProjectAppData` (§[getProjectAppData](/pCon/configuratorOnline/specs/api/session/operations/getprojectappdata#ref-7aefe134a075)) operation and is part of the project file saved and loaded by the `saveSession` (§[saveSession](/pCon/configuratorOnline/specs/api/session/operations/savesession#ref-cc7e4d5d8203)) and `loadSession` (§[loadSession](/pCon/configuratorOnline/specs/api/session/operations/loadsession#ref-dcf6596732bf)) operations. For more information, see §[Application-Specific Data](/pCon/configuratorOnline/specs/guide/web-service-interfaces/application-specific-data#ref-bbab408e669b).

A [`SessionServiceFault`](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault) is returned if one of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.

- One of the elements of `data` contains an invalid location path, or the location path is not followed by an equals sign (`=`).
