2
Currently some page properties can be set to a boolean variable, for example "Visible".
Proposal : extend this capability to all properties - including non-boolean ones. For example, the property Importance could be set to an option (or enum?) variable.
Example use case : Sales orders are imported from an external source. These orders are to be listed separately from ordinary sales orders and displayed in a customised Sales Order page, which is implemented as a page extension. The customised page needs to change the Promoted (field/action), Importance (field) and DeleteAllowed/InsertAllowed (page) properties in order to achieve the required page design - without changing the standard page. (A page extension is used rather than copying the Sales Order page because, apart from a few custom actions, it should work in the same way as a standard sales order. And copying the standard page creates problems of its own, such as calls to procedures that are not allowed for extension development, and the need to keep the copied page updated when the standard page changes).
https://www.altoolbox.com/post/how-to-split-documents-without-duplicating-pages
https://github.com/Microsoft/AL/issues/4006
Proposal : extend this capability to all properties - including non-boolean ones. For example, the property Importance could be set to an option (or enum?) variable.
Example use case : Sales orders are imported from an external source. These orders are to be listed separately from ordinary sales orders and displayed in a customised Sales Order page, which is implemented as a page extension. The customised page needs to change the Promoted (field/action), Importance (field) and DeleteAllowed/InsertAllowed (page) properties in order to achieve the required page design - without changing the standard page. (A page extension is used rather than copying the Sales Order page because, apart from a few custom actions, it should work in the same way as a standard sales order. And copying the standard page creates problems of its own, such as calls to procedures that are not allowed for extension development, and the need to keep the copied page updated when the standard page changes).
https://www.altoolbox.com/post/how-to-split-documents-without-duplicating-pages
https://github.com/Microsoft/AL/issues/4006
STATUS DETAILS
Declined
Business Central Team (administrator)