Show the Customer Custom Field on the Card
Building on the table extension from basics-add-table-field, show "Custom Field" on the Customer Card page.
Requirements
- Create a page extension that extends the
"Customer Card"page. - Add a field control named
"Custom Field", bound toRec."Custom Field", withApplicationArea = All. - Anchor it after the
Namecontrol (any valid anchor is graded the same — this one keeps the layout sensible).
The starter already includes the table extension from
basics-add-table-field— keep that file in your submission. The platform does not carry objects over between tasks, so without itRec."Custom Field"does not exist and your submission won't compile.
What the tests check
The grading tests read the Customer Card's control list from the "Page Control Field" virtual table and require a field control bound to Rec."Custom Field" whose control name is exactly "Custom Field" (a missing control fails with a message saying so). They also store a value in "Custom Field" on a customer, open that customer on the Customer Card, and read the value back.
Learn More
Hint 1
pageextension <id> <Name> extends "Customer Card" is the shell you need.Hint 2
Use
addafter(<existing control>) to anchor the new control.Hint 3
ApplicationArea = All; is required for the control to be visible.Hint 4
The field only exists because of the table extension file included in the starter — keep it in your submission alongside the page extension.
Press Compile to check your code compiles — Submit runs the tests.