RequestPage.ObjectId([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Returns a string in the "Page xxx" format, where xxx is the caption or ID of the application object.

Syntax

String :=   RequestPage.ObjectId([UseNames: Boolean])

Parameters

RequestPage
 Type: RequestPage
An instance of the RequestPage data type.

[Optional] UseNames
 Type: Boolean
true returns the page caption, if there is one; otherwise, it returns the page name. false returns the page ID as text.

Return Value

String
 Type: Text
The text of the object

See Also

RequestPage Data Type
Get Started with AL
Developing Extensions