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

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
    60,977 Super User 2025 Season 2 on at
    RE: How to create an action to "select all" rows in a List Page.

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

  • Non AI Human Profile Picture
    15 on at
    RE: How to create an action to "select all" rows in a List Page.

    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,696 Moderator on at
    RE: How to create an action to "select all" rows in a List Page.

    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
    RE: How to create an action to "select all" rows in a List Page.

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

  • Suggested answer
    Nitin Verma Profile Picture
    21,696 Moderator on at
    RE: How to create an action to "select all" rows in a List Page.

    So its time to convenience them :)

  • Suggested answer
    Amit Profile Picture
    2,557 on at
    RE: How to create an action to "select all" rows in a List Page.

    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
    93,438 Super User 2025 Season 2 on at
    RE: How to create an action to "select all" rows in a List Page.

    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,674

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,580

#3
YUN ZHU Profile Picture

YUN ZHU 2,115 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans