---
title: "Application-Specific Data"
slug: "guide/web-service-interfaces/application-specific-data"
sidebar:
  order: 98
---

<a id="ref-762570bd39d1"></a>
<a id="ref-bbab408e669b"></a>
<a id="ref-bd6ff58a74ac"></a>

The client is able to attach application-specific data to the project, the basket, and individual basket items. This data is written to and read from project files 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 of the `SessionService`. The operations used to access this data are:

- `setProjectAppData` (§[setProjectAppData](/pCon/configuratorOnline/specs/api/session/operations/setprojectappdata#ref-de57fbbda8d4)) and `getProjectAppData` (§[getProjectAppData](/pCon/configuratorOnline/specs/api/session/operations/getprojectappdata#ref-7aefe134a075)) of the `SessionService` for data attached to the project. This data is written to the `metainf.xml` project file member as child elements of the `<appData>` element.

- `setBasketAppData` (§[setBasketAppData](/pCon/configuratorOnline/specs/api/basket/operations/setbasketappdata#ref-68f757ec6a45)) and `getBasketAppData` (§[getBasketAppData](/pCon/configuratorOnline/specs/api/basket/operations/getbasketappdata#ref-b31c8f9d7a4a)) of the `BasketService` for data attached to the basket. This data is written to the `1.bsk` project file member as child elements of the `<appData>` element that is a child of the `<basket>` element.

- `setItemAppData` (§[setItemAppData](/pCon/configuratorOnline/specs/api/basket/operations/setitemappdata#ref-7600417a96c8)) and `getItemAppData` (§[getItemAppData](/pCon/configuratorOnline/specs/api/basket/operations/getitemappdata#ref-4fffc4147258)) of the `BasketService` for data attached to individual items. This data is written to the `1.bsk` project file member as child elements of the `<appData>` element that is a child of the element representing the basket item. It is also part of the OBX stream that is used for cut/copy/paste and may be used by some export routines exporting commercial data (§[getExportedGeometry](/pCon/configuratorOnline/specs/api/basket/operations/getexportedgeometry#ref-0862014d3e84), GFX export).

All operations that access application data have an argument of type `string` named `appKey`. This argument is intended to identify the application managing this particular kind of data. For each application key, the Online Configurator uses an `<application>` element as child of the `<appData>` element, with an attribute named `key` whose value is the specified application key. The `<application>` elements are created by operations that set the application data. Operations that get the application data do not create this (or any other) element.

## Contents

- [Setting Application Data](/pCon/configuratorOnline/specs/guide/web-service-interfaces/application-specific-data/setting-application-data)
- [Getting Application Data](/pCon/configuratorOnline/specs/guide/web-service-interfaces/application-specific-data/getting-application-data)
- [Location Paths](/pCon/configuratorOnline/specs/guide/web-service-interfaces/application-specific-data/location-paths)
