Workaround for broken sort buttons on the record creation and update rule items grid

Andreas CieslikDyn365CE3 years ago155 Views

In the customer service admin center app, if you open a “Record Creation and Update Rule” and go to Step two with the RCU items grid and you have more than 10 items in the subgrid available you might face a sorting bug which is recognized by Microsoft.

Once you go to page 2 or any higher number and try so change the sort order / sequence number the sorting is not working or doing anything at all.

 

Microsoft support has given me this temporary workaround until this bug is fixed:

Open the RCU item and open the Level Up for D365 Chrome extension and hit the “RECORD ID” button to retrieve the GUIDs of the source and target items that you want to switch the order.

In Chrome browser hit F12 and go to the console tab.

There insert the folloing lines of JavaScript to change the sequence number of each item:

var data = {

    "sequencenumber": "12"

};

Xrm.WebApi.updateRecord("convertruleitem", "GUID of previous position number", data).then(

    function success(result) {

    console.log("updated");

},

    function (error) {

    console.log(error.message);

});


var data = {

    "sequencenumber": "11"

};

Xrm.WebApi.updateRecord("convertruleitem", "GUID of current position number", data).then(

    function success(result) {

    console.log("updated");

},

    function (error) {

    console.log(error.message);

});

Original Post https://code2life.blogspot.com/2022/11/workaround-for-broken-sort-buttons-on.html

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
December 2025
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31     
« Nov   Jan »
Follow
Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...

Discover more from 365 Community Online

Subscribe now to keep reading and get access to the full archive.

Continue reading