getString
Returns the localized string for a given key associated with the specified resource (resx) defined in the manifest file.
Available for
Model-driven apps, canvas apps, & portals.
Syntax
context.resources.getString(id)
Note
If the id
parameter doesn't match a key associated with the specified resource (resx) defined in the manifest file, this method returns the id
parameter value.
Parameters
Parameter Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes | Name of the resource in the component manifest. |
Return Value
Type: String
Related articles
Resources
Power Apps component framework API reference
Power Apps component framework overview