Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 18.0.
Gets the ID of the app in which the test function is defined.
Syntax
AppId := DataSourceContext.AppId()
Note
This method can be invoked using property access syntax.
Parameters
DataSourceContext
Type: DataSourceContext
An instance of the DataSourceContext data type.
Return Value
AppId
Type: Guid
The app ID of the extension containing the test function.
Related information
DataSourceContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions