Edit

Share via


NavApp.GetResourceAsText(Text [, TextEncoding]) Method

Version: Available or changed with runtime version 14.0.

Retrieves the specified resource as Text

Syntax

ResourceValue :=   NavApp.GetResourceAsText(ResourceName: Text [, Encoding: TextEncoding])

Parameters

ResourceName
 Type: Text
Name of the resource to retrieve

[Optional] Encoding
 Type: TextEncoding
The encoding that will be used by the stream. The default encoding is MSDos.

Return Value

ResourceValue
 Type: Text

NavApp data type
Getting started with AL
Developing extensions