Редагувати

Поділитися через


Properties overview

This section describes the properties that are available to developers in Business Central for controlling the behavior of objects, like tables, pages, and reports.

Tip

If you already know the name of, for example, a data type, method, property, or trigger, use the Filter by title field in the upper left corner, above the table of contents to find the topic faster. Otherwise, you can scan the table of contents to find it.

There are different properties for various the AL object types. Some properties can be set on the object-level, and others pertain to specific controls of the object. Properties are added at the beginning of the code for the object or control, after the its definition, by using the syntax: Property_name = value;. For example:

page 50100 MyPage
{
    // Page object properties
    PageType = Card;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = Customer;
    
    layout
    {
        area(Content)
        {
            group(GroupName)
            {
                field(Name; Name)
                {
                    // Field properties
                    ApplicationArea = All;                                     
                }
            }
        }
    }

Tip

Use Ctrl+Space to trigger IntelliSense and get assistance on selecting a property and help on its syntax.

Methods
Triggers