Notifications
Announcements
No record found.
Hello team,
I want to be able to make the "Export to PDF" or Print function button appeared on the Quote only when that quote has an "Active Status" not draft. This is to prevent the sales people to just print the quote when its submitted and not wait for the review and the approval.
Thank you for your help and suppot.
Patrick
Hi Patrick,
In general, you can use ribbon workbench to show or hide specific button.
Ribbon button visibility based on a field value in Dynamics 365 | Ribbon Workbench | D365 Demystified
Now you can use Command Checker to find the button command.
In quote view, at the end of the URL we must include the command "&ribbondebug=true" as shown in the image below:
Note that the page will be updated and the Command Checker button will be displayed, so we can debug the commands associated with the buttons, solution layers and their respective rules:
Note that the actual command for the Export to PDF button is Mscrm.Form.PDFCommand, this command was not visible in the Workbench 2016 tool.
So I think your only remedy is to go into the XML itself and manually customize the Enable or Display rules applied against the button.
For more detailed information, you can refer following link:
How to hide the Generate PDF button in the Quote according with the Status in the Dynamics 365 - Dynamics 365 Sales Forum Community Forum
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Thank you but The Command Check only help to "Check Command". You can't really modify anything unless you touch the XML and I an trying not to. Can you help to access the Ribbon workbench too?
Hi Patrick,
The Command Checker only help you find the command of the button.
As I mentioned above, the actual command for the Export to PDF button is Mscrm.Form.PDFCommand, this command was not visible in the Workbench 2016 tool.
And only remedy is to go into the XML, there seems to be no other way currently.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 137 Super User 2025 Season 2
#ManoVerse 57
Jimmy Passeti 50 Most Valuable Professional