Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Version: Available or changed with runtime version 18.0.
Retrieves the specified public resource from the given app as a JsonObject.
Syntax
ResourceValue := NavApp.GetResourceAsJson(ResourceName: Text, AppId: Guid [, Encoding: TextEncoding])
Parameters
ResourceName
Type: Text
Name of the public resource to retrieve.
AppId
Type: Guid
The ID of the app from which to retrieve the public resource.
[Optional] Encoding
Type: TextEncoding
The encoding that will be used by the stream. The default encoding is MSDos.
Return Value
ResourceValue
Type: JsonObject
Related information
NavApp data type
Adding and accessing resources in Business Central extensions
Getting started with AL
Developing extensions