Hi All,
Design customizations in Business Central often used to make quick to changes to page fields, layouts and actions. If not managed correctly, these changes are lost during upgrade.
The safest and most maintainable way to handle them is by organizing these customizations in a separate app.
Here are some practical pointers and technical approaches to follow:
1. Keep Design Customizations in a Separate AL Extension
Create a new AL project (extension) specifically for UI and layout changes.
Keep this extension focused only on design elements - avoid mixing in business logic or data-related code.
2. Use Page Extension Objects Instead of Modifying Base Pages
Extend standard pages using the pageextension object instead of giving access to the Users to design the pages - if handing needs to be avoied. This depends on Client requirements, and the understanding and structure between Client and Partners.
3. Use Permissions and ApplicationArea Wisely
Control and Limit which Users should have access to Design BC.
4. Import this design App during upgrade
During an upgrade, import the design app like other Custom apps. This ensures that all referenced objects are available and your UI customizations apply correctly without conflicts and loss of customization.
Placing all your design customizations in a separate app avoida loss of design customizations, makes the solution easier to manage, and reduces conflicts. Follow AL best practices like using pageextension avoids managing. Which approach to use depends on what you need to do and what suits you the best.
Do write to me in the comments if you know any other helpful ways and suggestions!
Reach out to me if you have any questions or suggestions.
Check out other blogs, if you haven't already.
No comments:
Post a Comment