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

Different behavior when enabling Select More feature and Current record position in Web Client

(0) ShareShare
ReportReport
Posted on by

The main point here is to differentiate from

  1. The current record position (or focus).
  2. The record selection (through “Select More”)

The current record position

Every time you move the mouse, you might notice that there is an ellipsis that determine what is your current cursor, and record, position.

 pastedimage1589359080323v1.png

 

This will be the record whom a bounded action (that belongs to the rec variable in the page) will respond to. This will always be transferred from the client to the server as the current record position.

 

The record selection

Selecting multiple records at once or all records (CTRL+A) will result in creating a list of records to be used by action that typically perform a SETSELECTIONFILTER assignment like e.g.

            action(SetSelectionFiler)

            {

                ApplicationArea = All;

                Image = Start;

                Caption = 'No. of Recs';

                Promoted = true;

                trigger OnAction()

                begin

                    postedsalesinv.Reset();

                    CurrPage.SetSelectionFilter(postedsalesinv);

                    Message(format(postedsalesinv.Count));

                end;

            }

 

This is the typical usage of the “Select More” feature. This would reflect the content of “Select More” fields into a filtered recordset.

Let’s combine now the 2 definition within a specific user scenario and analyzed the behavior.

  1. Enable “Select More” feature
  2. Select the first posted sales invoice line (or whatever record item in a list you like)
  3. Select the second posted sales invoice line
  4. Deselect the 2nd 

You could see then that also the cursor position being set to the 2nd line

pastedimage1589359126413v2.png

 When you click on e.g. Navigate action, then, you will trigger the Navigate function in Sales Invoice Header table sending the current record “Posting Date” and “No.” to the Navigate page.

    procedure Navigate()

    var

        NavigateForm: Page Navigate;

    begin

        NavigateForm.SetDoc("Posting Date", "No.");

        NavigateForm.Run;

    end;

That is what actually it does.

There is one extra in how to double check where the current record is set.

Within Editable lists (e.g. in document lines), you could also better see where the cursor and the record is positioned since the application is showing a small arrow. This would help better in differentiate and understand what is the current record to whom apply specific actions.

 pastedimage1589359165044v3.png

This is not ended. You might argue that Windows client (the predecessor of web client) could have had a different behavior. This is not true and they behave exactly the same.

Below you can see the latest fully patched 14.x Windows Client and it is showing exactly the same thing.

When using CTRL+CLICK key to select multiple items and then use CTRL+CLICK to deselect items, you would fall back in the same scenario

 pastedimage1589359285512v4.png 

In the case above, SETSELECTIONFILTER will register the first record (103027) while Navigate actions will stick with the cursor position and open/navigate using 103026 posting date and No.

 That is how it works since decades now.

I have to admit myself that it needs more attention on this by a normal user. On the other hand, I think that explaining this to the users it would make them understand the different behavior and act upon it. If you wish to have this behavior changed, please file a request to IDEAS site or vote for an already existing one (https://ideas.dynamics.com/ideas/)

I have the same question (0)

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
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,252

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,117

#3
Sumit Singh Profile Picture

Sumit Singh 2,956

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans