bcquality/microsoft/knowledge/style/caption-required-on-page-fields.bad.al
Jesper Schulz-Wedde 8584217c75
Some checks failed
Validate knowledge index / validate-index (push) Has been cancelled
Validate AL review fixtures / validate-review-fixtures (push) Has been cancelled
Validate frontmatter and structure / validate (push) Has been cancelled
Clarify page field caption and tooltip inheritance (#160)
* Clarify page field caption and tooltip inheritance

Prevent redundant page-level properties by documenting inherited captions and BC24/runtime 13.0 table-field tooltips. Correct companion examples and version-scoped tooltip guidance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Address tooltip quality and knowledge scope review feedback

Require useful, behavior-grounded tooltip text rather than caption repetition, improve the samples, and explain why compiler feedback does not prevent redundant page captions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-07 15:13:35 +02:00

30 lines
746 B
AL

page 50253 "Sample Caption Bad"
{
PageType = Card;
SourceTable = Customer;
layout
{
area(Content)
{
group(General)
{
Caption = 'General';
field(CustomerNoValue; CustomerNoValue)
{
ApplicationArea = All;
ToolTip = 'Specifies the customer number to look up.';
}
field("Customer Name"; Rec.Name)
{
ApplicationArea = All;
Caption = '';
ToolTip = 'Specifies the customer name shown on sales documents.';
}
}
}
}
var
CustomerNoValue: Code[20];
}