Clarify page field caption and tooltip inheritance (#160)
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

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>
This commit is contained in:
Jesper Schulz-Wedde 2026-09-07 15:13:35 +02:00 • committed by GitHub
parent 1a5afdc0eb
commit 8584217c75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 147 additions and 32 deletions

View file

@ -1,24 +1,62 @@
// BC24 / runtime 13.0 or later.
table 50250 "Sample Tooltip Source"
{
Caption = 'Tooltip Source';
DataClassification = CustomerContent;
fields
{
field(1; "No."; Code[20])
{
Caption = 'No.';
ToolTip = 'Specifies the unique number used to distinguish this entry from other entries.';
}
field(2; Amount; Decimal)
{
Caption = 'Amount';
ToolTip = 'Specifies the monetary value recorded for this entry; changing it updates the saved entry.';
}
}
keys
{
key(PK; "No.")
{
Clustered = true;
}
}
}
page 50250 "Sample Tooltip Good"
{
PageType = Card;
SourceTable = Customer;
SourceTable = "Sample Tooltip Source";
layout
{
area(Content)
{
group(General)
{
Caption = 'General';
field("No."; Rec."No.")
{
ApplicationArea = All;
ToolTip = 'Specifies the number that identifies the customer.';
}
field(Amount; Rec."Balance (LCY)")
field(Amount; Rec.Amount)
{
ApplicationArea = All;
ToolTip = 'Shows the total balance in local currency.';
ToolTip = 'Specifies the recorded amount to compare with the temporary preview amount.';
}
field(PreviewAmount; PreviewAmount)
{
ApplicationArea = All;
Caption = 'Preview Amount';
ToolTip = 'Specifies a temporary amount to compare with the recorded entry amount; this value is not saved.';
}
}
}
}
var
PreviewAmount: Decimal;
}