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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Add New Action to Page Extension When Existing Page Currently Has No Actions

(0) ShareShare
ReportReport
Posted on by

I am looking to add an action to an existing page that currently does not contain any actions.

Since there are no actions on the page, AddAfter(), AddBefore(), AddFirst(), & AddLast() do not work because there is nothing to 'Anchor' to.

    actions
    {
         AddLast(Anchor)
            {
                rAction
             }
    }
I had read somewhere that you can use something like AddLast(Creation) - and Creation would be an anchor when you need to create your first action, but it doesn't work. Visual Studio lists it as an error.
How do you add add a new action on a page without actions?
This is for a BC14 installation and will be used in many localizations (DE,UK, ES, Ect). I beleive the runtime version is 3.2, or something like that.
Thanks!
I have the same question (0)
  • IB-29041624-0 Profile Picture
    1,191 Moderator on at

    What page (object no.) are you trying to add an action to?

  • VokesoJcl Profile Picture
    on at

    Page 9042 - Team Member Activities.  - althought the question is for any page that doesn't have existing actions. I don't know how to provide an 'Anchor' when there isn't anything already there.

    Thank You.

  • Truong Tan Chau Profile Picture
    10 on at
    pageextension id "Vendor Bank Account Card Ext" extends "Vendor Bank Account Card"
    {
        actions
        {
            addlast(Processing)
            {
                action("New Action")
                {
                    Caption = 'My New Action';
                    ApplicationArea = All;
                    Image = Action;

                    trigger OnAction()
                    begin
                        Message('This is my new action!');
                    end;
                }
            }
        }
    }


    In Visual Studio Code, I click Ctrl + Space and it give me the answer for this question.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April 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,260 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,515 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,373

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans