Create page customizations
With page extensions, you can modify existing pages. You can add new fields, modify some field properties, and write code in the different page triggers. Modifications that are published by using page extensions are visible to all users.
You can also create Page Customization objects. A page customization has more restrictions than a page extension. You can't write code in a Page Customization object; therefore, you can't add variables, create procedures, or access triggers.
You can add changes to existing page layouts by modifying the position of fields or changing field properties, but you can't add new fields to the page. A page customization can only work with fields that were already defined on the page. This rule applies to fields and also for page actions. You can modify existing actions or change the position, but you can't add new actions.
A page customization isn't visible to all users, but they are always linked to a profile. Only users who are assigned to that profile see the customization. A single page customization can be used with multiple profiles within the same extension.
To create a new Page Customization object, you can use the tpagecust snippet. This snippet helps you create a basic layout. A Page Customization object doesn't have a number, just a name.
pagecustomization MyCustomization customizes "Customer List"
{
actions
{
moveafter(Orders; "Blanket Orders")
modify(NewSalesBlanketOrder)
{
Visible = false;
}
}
}