Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Need to hide or disable the Print button in Dynamics GP Report Preview Screen

Posted on by 455

Hello,

Can anyone please help me to share Dexterity Code/Script to hide or disable Print button in Report Preview Screen (See below image). I have a scenario where user can only preview the report but should not send it to printer from this screen. Thanks.

Categories:
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: Need to hide or disable the Print button in Dynamics GP Report Preview Screen

    Here is the GP Power Tools project that hides the print button from the screen output window AND hides the Printer checkbox from both the Report Destination window in Dynamics and the Report Destination window in the Dexterity runtime.

    GP-Power-Tools-Settings-Rw_5F00_print_5F00_disable.dbg.zip:320:240

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: Need to hide or disable the Print button in Dynamics GP Report Preview Screen

    I can create the project in GP Power Tools.

    But would need some clarifications:

    Is this for all reports?

    This will only stop reports printing if you sent it to screen first. What about the Report Destination windows, do we need to prevent printer being selected there as well?

    It would help if you explained what you are trying to achieve. What is the big picture?

    Regards

    David

  • Muhammad Imran Ali Profile Picture
    Muhammad Imran Ali 455 on at
    RE: Need to hide or disable the Print button in Dynamics GP Report Preview Screen

    Hi David,

    Thanks, if possible, can you share Dexterity Code/Script to do it?. Thanks.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: Need to hide or disable the Print button in Dynamics GP Report Preview Screen

    This is a fairly simple customisation using GP Power Tools.

    A single trigger against the runtime engine dictionary would achieve this.

    FYI: VBA or VSTools cannot do it.

    Regards

    David

  • GP Tanveer Profile Picture
    GP Tanveer on at
    RE: Need to hide or disable the Print button in Dynamics GP Report Preview Screen

    Good day Mr.Imran Ali,

    Our company needed similar kind of customization related to report destination window and got a person doing this, they didn't share the code/script but only chunk file. if you want i can provide you contact address so you can talk and get this done.

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans