<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`BasesViewConfig`](BasesViewConfig) › [`getAsPropertyId`](BasesViewConfig/getAsPropertyId)
## BasesViewConfig.getAsPropertyId() method
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.
1.10.0
**Signature:**
```typescript
getAsPropertyId(key: string): BasesPropertyId | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>key</code> | <code>string</code> | |
**Returns:**
[`BasesPropertyId`](BasesPropertyId)` | null`