web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Add dialog window to print button

(0) ShareShare
ReportReport
Posted on by 109

I want to add a function prior to the print button.

The user shall have the option to start a process or decline it.

After that the print process shall start as usual.

Is it possible to add that function to every print button that is used to print a sales report?

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Add dialog window to print button

    What you can do is add your logic to the report, that way it will trigger everywhere.

  • Yupp90 Profile Picture
    109 on at
    RE: Add dialog window to print button

    I'm using that way (STRMENU Function, so the user can decide what he wants) for specific sales reports to display a different titles or informations.

    Here I would like to add a logic to all sales reports.

    In the Sales Order List Page I can see the Page Action (Development Environment -> Tools -> Object Designer -> Page -> Design -> View -> Page Action).

    Is it possible to create a page action that will open a dialog prior to the print action?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Add dialog window to print button

    You can add the action and store the value in a variable and pass it to the specific print button, there are a few print actions on that page, what are you planning to achieve?

  • Yupp90 Profile Picture
    109 on at
    RE: Add dialog window to print button

    The user shall have the option to store the reports in a document management tool. The dialog window I want to display shall pop up when the user either wants to print or send the report per mail. I have seen such a dialog window in nav (was implemented by a some other guy), but I couldn't figure out how to add the action to both buttons.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Add dialog window to print button

    I don't understand what you are referring, what dialog box and what options will it have? be clear.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,179

#2
OussamaSabbouh Profile Picture

OussamaSabbouh 1,999

#3
YUN ZHU Profile Picture

YUN ZHU 1,892 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans