Skip to main content

Notifications

Announcements

No record found.

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.

  • Suggested answer
    YUN ZHU Profile Picture
    81,789 Super User 2025 Season 1 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

  • Suggested answer
    Amit_Sharma Profile Picture
    2,545 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
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: How to create an action to "select all" rows in a List Page.

    So its time to convenience them :)

  • 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,544 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.

    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
    Mohana Yadav Profile Picture
    60,222 Super User 2025 Season 1 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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans