Modifier

Partager via


AllowInCustomizations Property

Version: Available or changed with runtime version 12.0.

Specifies whether this table field can be used as source expression for new page fields in page customizations.

Applies to

  • Table field

Property value

Value Available or changed with Description
Always runtime version 12.0 The field can be used as source expression for new page fields in page customizations.
Never runtime version 12.0 The field cannot be used as source expression for new page fields in page customizations.

Remarks

If you change the property from Always to Never, then when the new extension version is published, the field is no longer available for adding to a page using customization. Also, it's removed from any existing pages that show it. For more information about page customization, see Customize pages for profiles.

Example

The following table extension example adds a field to the Customer table. Because the AllowInCustomizations property is set to Never, the field can't be added to any pages by using the page customizations feature in the client.

tableextension 50100 MyExtension extends Customer
{
    fields
    {
        field(599999; MyField; Blob)
        {
           AllowInCustomizations = Never;
        }
    }
}

Getting Started with AL
Developing Extensions