---
title: "Options Manager Class"
description: "Used for managing application and user settings in the Bitrix24 application. It allows initializing data, getting, and setting options through messages to the parent window."
canonical_url: "https://bitrix24.github.io/b24jssdk/docs/working-with-the-rest-api/frame-options"
last_updated: "2026-05-08"
---
# Options Manager Class

> Used for managing application and user settings in the Bitrix24 application. It allows initializing data, getting, and setting options through messages to the parent window.

> [!WARNING]
> We are still updating this page. Some data may be missing here — we will complete it shortly.

## Methods

### appGet

```ts
appGet(option: string): any
```

Retrieves the value of an application option.

Returns the option value or throws an error if the option is not set.

```ts
// ... /////
$b24 = await initializeB24Frame()
// ... /////
const value: any = $b24.options.appGet('test')
```

### appSet

```ts
async appSet(option: string, value: any): Promise<void>
```

Sets the value of an application option.

```ts
// ... /////
$b24 = await initializeB24Frame()
// ... /////
await $b24.options.appSet('test', 123)
```

### userGet

```ts
userGet(option: string): any
```

Retrieves the value of a user option.

Returns the option value or throws an error if the option is not set.

```ts
// ... /////
$b24 = await initializeB24Frame()
// ... /////
const value: any = $b24.options.userGet('test')
```

### userSet

```ts
async userSet(option: string, value: any): Promise<void>
```

Sets the value of a user option.

```ts
// ... /////
$b24 = await initializeB24Frame()
// ... /////
await $b24.options.userSet('test', 123)
```

## Sitemap

See the full [sitemap](/b24jssdk/sitemap.md) for all pages.
