---
schema_version: "1"
id: 90d290d5cfa0b4e6d950adbbacde16f84d338ee21c791e0acaf43bbd3cbb9f66
title: get()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-dollara-get.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-dollara-get.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: de97aa59c47ade106d2f03ce6ac8dbd33754f718ca1dc43452c8cb8213309a05
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# get()

Returns a value from the specified global value provider using property syntax.

## Signature

`get (String key, function callback)`

## Parameters

**_key_:** Type: `String`. The data key to look up. For example, `"$Label.c.labelName"` for a custom label.

**_callback_:** Type: `function`. The method to call with the result if a server trip occurs.

## Returns

**Type: `String`** The requested value.

**See Also**  


-   [set()](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-component-set.md)

