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...
Answered

Refer to Action by ID instead of Name in PageExt

(0) ShareShare
ReportReport
Posted on by 5

Hi all. 

I am facing an issue with an action on a page in a BC14. In C/Side i have two actions with the exact same name, but of course different ID's, as that is how C/Side tells them apart. 

Now i need to disable both these actions from an extension, however in AL i can only use the "Modify(ActionName)" method to change an action. Right now my code looks like this: 

modify("ActionName")
        {
            Enabled = false;
        }

This only hides one of the two actions, the first one from the page designer in C/Side. How do i get rid of the last one, without changing the code in C/Side?

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,218 Super User 2026 Season 1 on at

    Are they standard actions?

    if yes, can you please let us know which page and which actions?

    Microsoft is adding reasonable names to to all actions or the actions will have names with ids at the end.

    Like action123 etc.

    you have find the action with that id exist and use the same.

  • Sogaard Profile Picture
    5 on at

    Sadly this is not standard actions - they are from a 3'rd party. They have not yet upgraded their code to work in extensions, so i merged their code into C/Side before we started Dev to be sure to have all symbols correct from the beginning.

    From your answer i suppose you also think i am at a dead end, and need to add changes in C/Side?

  • Verified answer
    THE Italian Profile Picture
    Microsoft Employee on at

    There should not be 2 actions with the same name. Maybe this is already resolved in the application within the latest CU for BC 14 (currently CU 13, just released).

    The only way is to change the name to a different one then regenerate symbols

  • Daniel Rimmelzwaan Profile Picture
    3,485 on at

    If you have dev rights to the objects, I would suggest giving the two actions different names

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!

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,334 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,717 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,470

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans