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...
Suggested Answer

How to create an action to "select all" rows in a List Page.

(0) ShareShare
ReportReport
Posted on by 15

I need to create an action called Select All so that users don't need to use the selection feature provided by MS. Just one cliick on the action and all the lines get selected.

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

    You can just use Ctrl+A without any action/code.

  • Non AI Human Profile Picture
    15 on at

    It looks like it was not clear, but I asked, How can I create an action to select all rows in a list in AL not about a shortcut key.

  • Suggested answer
    Nitin Verma Profile Picture
    21,794 Moderator on at

    Hi,

    Adding more info. We believe less customization and as Mohana said, if we have already that functionality without any customization then why do we require customization.

  • Non AI Human Profile Picture
    15 on at

    Precisely, This is what I said when they asked to implement such a feature.

  • Suggested answer
    Nitin Verma Profile Picture
    21,794 Moderator on at

    So its time to convenience them :)

  • Suggested answer
    Amit Profile Picture
    2,563 on at

    Hi,

    For this create on field and write code. When it is pressed, all lines selected.

    Regards

    Amit Sharma

    www.erpconsultors.com

    www.linkedin.com/.../

    Press Yes if info is useful.

  • Suggested answer
    YUN ZHU Profile Picture
    99,968 Super User 2026 Season 1 on at

    Hi, I think you can try the following two methods.

    Record.Mark([Boolean]) Method
    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-mark-method

    Record.MarkedOnly([Boolean]) Method
    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-markedonly-method

    Hope this helps.

    Thanks.

    ZHU

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 705 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans