(1) In this blog, we will discuss the extension of Page in BC D365. You can extend existing page objects, similar to how you extend tables and reports. With page extensions, you can extend an existing page by:
Adding “New Field” or column to “Existing Page Layout“.
Adding “Triggers” and adding code or logic in the “Existing Triggers”.
Adding “Action or Buttons” and modifying the “Existing Button Logic”.
Adding “New Layouts” and Modifying the “Existing Layout”.
Adding “New Properties” and Modifying the “Existing Properties”.
(2) Note from Microsoft as shown.
(3) The following keywords in the layout section to place and move fields and groups on the page extension. Similarly, in the actions section, you use these keywords to place actions in the ribbon.
Keywords
Syntax
Applies to
addfirst
addfirst(Anchor)
Anchor: areas and groups
addlast
addlast(Anchor)
Anchor: areas and groups
addafter
addafter(Anchor)
Anchor: controls, actions, and groups
addbefore
addbefore(Anchor)
Anchor: controls, actions, and groups
movefirst
movefirst(Anchor; Target1, Target2)
Anchor: area, group Target: list of actions or list of controls
movelast
movelast(Anchor; Target1, Target2)
Anchor: area, group Target: list of actions or list of controls
moveafter
moveafter(Anchor; Target1, Target2)
Anchor: controls, actions, and groups Target: list of actions or list of controls
movebefore
movebefore(Anchor; Target1, Target2)
Anchor: controls, actions, and groups Target: list of actions or list of controls