Hi everyone,
I have been working with Apex for >1 year and loving how it simplifies app development in my small team. However I have not found satisfying solutions for some issue regarding reusability. I will really appreciate it if anyone can help me on tackling these pain points:
- Creating reusable page layout - most of the time I have multiple pages that shares the same regions, items, and logic. For example, I have a region which has been customized to have hidden heading, containing dropdown items, which are pulling its value from a shared component. This customized region and its content will be used in multiple pages. Every time I want to change an item / UI of the region, I will need to re-visit these pages one by one and updating them - this is really time consuming. I have seen people asking about this in another thread: , but it did not get results.
- Making pages detecting changes on the backend table - this is a frequent problem on my form and report pages. Let's say I decided to rename a table column, I will have to check one by one my Apex pages to find if there are any page item or report affected by this change. Is there a better way to detect these affected pages in one go?
In addition, does anyone know if there is sample app or website that talks about the best practices of Apex development? Thank you in advance!
P.S. I am using Apex v5.1