Edit

NavApp.ListResources(Guid [, Text]) Method

Version: Available or changed with runtime version 18.0.

Gets an optionally filtered list of public resources from the specified app.

Syntax

Result :=   NavApp.ListResources(AppId: Guid [, Filter: Text])

Parameters

AppId
 Type: Guid
The ID of the app from which to list public resources.

[Optional] Filter
 Type: Text
Wildcard based filter to filter resource names by. If not provided, all public resources are listed.

Return Value

Result
 Type: List of [Text]
The list of public resources from the specified app, filtered by the given pattern if provided.

NavApp data type
Adding and accessing resources in Business Central extensions
Getting started with AL
Developing extensions