Fixing Button Issue In D365 CE Environment

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 has some enable rules so I thought it may be related to that. When I tried to debug command bar I was not able to see that button there as well. But this button was visible in the other environment like below

 

While doing 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 may be 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 the 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 an issue like above you can regenerate metadata for fixing such issue. But before this make sure to check all the rules 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 !!

HIMBAP
We are expert in Microsoft Power Platform.