<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`BasesViewConfig`](BasesViewConfig)
## BasesViewConfig class
The in-memory representation of a single entry in the "views" section of a Bases file. Contains settings and configuration options set by the user from the toolbar menus and view options.
1.10.0
**Signature:**
```typescript
export class BasesViewConfig
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [`name`](BasesViewConfig/name) | | <code>string</code> | <p>User-friendly name for this view.</p><p> 1.10.0</p> |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [`get(key)`](BasesViewConfig/get) | | <p>Retrieve the user-configured value of options exposed in <code>BasesViewRegistration.options</code>.</p><p> 1.10.0</p> |
| [`getAsPropertyId(key)`](BasesViewConfig/getAsPropertyId) | | <p>Retrieve a user-configured value from the config, converting it to a BasesPropertyId. Returns null if the requested key is not present in the config, or if the value is invalid.</p><p> 1.10.0</p> |
| [`getDisplayName(propertyId)`](BasesViewConfig/getDisplayName) | | <p>Retrieve a friendly name for the provided property. If the property has been renamed by the user in the Base config, that value is returned. File properties may have a default name that is returned, otherwise the name with the property type prefix removed is returned.</p><p> 1.10.0</p> |
| [`getEvaluatedFormula(view, key)`](BasesViewConfig/getEvaluatedFormula) | | Retrieve a user-configured value from the config, evaluating it as a formula in the context of the current Base. For embedded bases, or bases in the sidebar, this means evaluating the formula against the currently active file. |
| [`getOrder()`](BasesViewConfig/getOrder) | | <p>Ordered list of properties to display in this view. In a table, these can be interpreted as the list of visible columns. Order is configured by the user through the properties toolbar menu.</p><p> 1.10.0</p> |
| [`getSort()`](BasesViewConfig/getSort) | | <p>Retrieve the sorting config for this view. Sort is configured by the user through the sort toolbar menu. Removes invalid sort configs. If no (valid) sort config, returns an empty array. Does not validate that the properties exists.</p><p>Note that data from BasesQueryResult will be presorted.</p><p> 1.10.0</p> |
| [`set(key, value)`](BasesViewConfig/set) | | <p>Store configuration data for the view. Views should prefer <code>BasesViewRegistration.options</code> to allow users to configure options where appropriate.</p><p> 1.10.0</p> |