Applies to Product – Dynamics 365 Project Operations
What’s happening?
The label of a custom button changes to "LabelText" when clicked, which is not the expected behavior.
Reason:
This appears to be related to the custom code associated with the button.
Resolution:
- Confirm whether the button is a custom button or an out-of-the-box (OOB) button.
- Check if any recent custom logic changes have been made that could affect the button's behavior.
- Review the code associated with the button, particularly focusing on the lines that handle the dialog opening and page refresh. It was suggested to comment out the line that performs the page refresh to prevent the label from changing.
- Use the ribbon debug tool by appending &ribbondebug=true to the URL to check the solution layer of the button via the command checker.
- If the issue persists, consider regenerating the ribbon metadata as outlined in How to regenerate ribbon metadata - Power Apps | Microsoft Learn.
- Test the button in different browsers, as the issue may be browser-specific.
