Skip to main content
Business Central forum
Unanswered

Mark all records when opening a list page

editSubscribe (0) ShareShare
ReportReport
Posted on by 543

Hi experts,

I have made a new list page that shows some records.

I would like that when the page is shown, all the records are marked automatically.

Then the user can unmark some of them and press a button.

I know that the function "Mark(true)" can mark a record, but I cannot see it on the page.

How do I do that?

Categories:
  • Non AI Human Profile Picture
    Non AI Human 15 on at
    RE: Mark all records when opening a list page

    Thank you!

    I also tried the same thing but they asked me for this.

    So I am going to drop this idea.

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Mark all records when opening a list page

    Hi,

    I could not make the default mark/unmark function work, so I made a new boolean field on the table. Before opening the page, I marked the new field on all the records and the the user can unmark the new field, if they want.

    And then, when the user closes the page, I run through the marked records and do something.

    It does not look exactly like the normal mark/unmark functionality, but it works.

    I hope you make it work.

  • Non AI Human Profile Picture
    Non AI Human 15 on at
    RE: Mark all records when opening a list page

    Hi, Did you find the solution? I need to implement the same thing, if you have then please share.

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Mark all records when opening a list page

    Hi Nitin,

    Thank you for your reply. I know that the mark function can mark the records, but I cannot see on the screen that the records are marked.

    I need to show that, so that the user can unmark some of the records before pressing a button.

  • Nitin Verma Profile Picture
    Nitin Verma 20,984 Super User on at
    RE: Mark all records when opening a list page

    Hi Morten Steengaard ,

    Please refer the below link

    docs.microsoft.com/.../record-mark-method

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans