Skip to content
Arthur edited this page Dec 9, 2023 · 5 revisions

Explicitly set AllowInCustomizations for fields omitted on pages.

This rule ensures that the AllowInCustomizations property is set appropriately for fields on table(extensions) that are omitted on the page. The AllowInCustomizations property manage the visibility of fields in the UI, mitigating potential risks associated with unintended exposure.

Example

table 50100 "My Setup Table"
{
    fields
    {
        field(1; "Primary Key"; Code[10])
        {
            AllowInCustomizations = Never;
            Caption = 'Primary Key';
            DataClassification = SystemMetadata;
            NotBlank = false;
        }
    }
}

External references

Clone this wiki locally