Issue
Command button is not visible in the Production system.
Resolution
Recently we noticed that a new button added on the Meeting entity is not visible in the production environment.
This button have some enable rules so I thought it maybe related to that when I tried to debug command bar I was not able to see that butter there as well. But this button was visible in the other environment environment like below
While dong troubleshooting on this I found this KB article. Based on this article if we are facing following issues:
> A button on the command bar is hidden when it should be visible.
> A button on the command bar is visible when it should be hidden.
> A button on the command bar is not working correctly.
This maybe because of the incorrect ribbon metadata. In order to solve this issue we have to regenerate metadata for the entity and we can regenerate metadata from the command checker
Once regeneration process is completed, we have to clear browser cache after that we should be able to see our button and it worked for us.
Summary
If you facing issue issue like above you can regenerate metadata for fixing such issue. But before this make sure to check all the rule that you have for the button just to confirm if your button is not hidden due to that logic. you can debug command bar for that.
Want to know how to debug command bar check our earlier post for the same.
Hope it will help someone !!
Keep learning and Keep Sharing !!