Editar

Partilhar via


Session.ApplicationArea([Text]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets the application areas for the current session.

Syntax

[ApplicationArea := ]  Session.ApplicationArea([ApplicationArea: Text])

Note

This method can be invoked without specifying the data type name.

Parameters

[Optional] ApplicationArea
 Type: Text
The new application areas for the current session.

Return Value

[Optional] ApplicationArea
 Type: Text
The application areas for the current session.

Remarks

This method lets you hide certain user interface elements (including page fields and actions, and report request page options) based on the application area to which they belong. Controls that define these items can be tagged with one or more application areas by setting the ApplicationArea property. When the ApplicationArea method is called in a client session, only those controls that are tagged with the application areas set by the method will be appear in the user interface.

Note

Currently, this functionality is intended for the application areas that are defined in table 9178 Application Area Setup. You can define your own application areas but be aware that the implementation might change in future release.

Session Data Type
Get Started with AL
Developing Extensions