Recently, while working on adding a sidepane dynamically to a custom model-driven app, the author encountered an issue where a double icon was displayed when clicking on the "Focused View" button, cluttering the UI. The problem was caused by the code being triggered multiple times when switching between different views. To solve this, the author added a condition in the code to check the URL and current page type, preventing the icon from being loaded again when the "Focused View" button was clicked. By implementing this fix, the issue of double icons was resolved, resulting in a cleaner UI and smoother user experience.
Login now to access my digest by 365.Training