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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

How to add an action to a RequestPage?

(0) ShareShare
ReportReport
Posted on by

Hey guys,

I would like to know, if it is possible to add an action to a RequestPage?

I have created an action, which prints a protocol and that function should also be accessible for the user from the RequestPage.

RequestPage.PNG

Thank you ;)

I have the same question (0)
  • Suggested answer
    Avinash B Profile Picture
    1,455 on at

    Hi

    You cant add action to a request page.

    Regards

    Avinash B

  • Community Member Profile Picture
    on at

    That is bad...

    I have extended my RequestPage by a bool variable, which the user can set to true/false:

    5238.RequestPage.PNG

    If the variable is true, then the report is opened with the given-in values.

    If not, then the report shows only empty fields.

    Can I have access to the global variables of my report? To proof, if the value is set to true or false by the user?

  • Suggested answer
    Avinash B Profile Picture
    1,455 on at

    Hi

    Where you want to access the variable? Outside the report?

    Regards

    Avinash B

  • Community Member Profile Picture
    on at

    Yes, but I think, that this is not working.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    To modify an existing report (for example like in your case where you want to add an action to a request page and a new global variable) you need to copy the existing report and create a new one. From the new report you can add an action like on every other page.

    To set a global report variable value from the outside of the report object, just create a public procedure in your report that received a parameter and assigns its value to your global variable. You can then do:

    YourReport.YourMethod(param)

  • Community Member Profile Picture
    on at

    I have also to copy the report, even though it is my own one and not a standard report?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Obviously no, if it's your custom report you can directly add the action to the request page.

  • Community Member Profile Picture
    on at

    Ok, I did not know, that it is possible to add actions to RequestPages.

    I inserted my action in that way:

    1145.code.PNG

    But the action is not shown on the RequestPage:

    7774.system.PNG

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Try with:

    actions

           {

               area(processing)

               {

                   action(ActionName)

                   {

                   }

               }

           }

  • Community Member Profile Picture
    on at

    Unfortunately, it does not seem to matter which type of area I choose (Creation, Navigation, Processing, Reporting) , because none of them makes my action visible on the RequestPage....

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,371 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,806 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,371

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans