Monday 9 September 2019

Case Sensitivity on Ribbon Workbench Customisations

If you have noticed the ribbons on the CRM classic UI, you might have seen that labels of the buttons are displayed as Capitals no matter how you configure them on the ribbon workbench.

But with the introduction of the UCI, it displays the labels as how it is configured, i.e if you have entered the label in lowercase, UCI also displays as Lower case and if you have configured the label as Full Caps, UCI also displays as Full Caps.
Recently, I was working on custom buttons and one of the button's name was on Full Caps which stood out a little while the label on other buttons are Initial Caps. So, I decided to edit the label with the Initial Caps via Ribbon Workbench, but even after multiple publish, it just didn't seem to react to my changes. The label was still displayed as Full Caps.

To fix this scenario, I had to do two sequential changes.
The label of the button is "Create Account".
Initially, the label was "CREATE ACCOUNT"  and then changed the label to "Create Account" via Ribbon Workbench but like I mentioned before, it didn't work.
What worked was,
1. Change the label to something that is completely different from the original label. For eg, Contact.
2. Publish the solution
3. Now, edit the label again with "Create Account" (Notice the letters are Initial Caps).
4. Publish the solution now and it should work.

This is basically a scenario where the label of the button is same but you are just trying to change the case of the label.





No comments:

Post a Comment