Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Dataset command bar not updating as expected



We had recently faced an issue where we were calling setSelectedRecordIds() and it was calling updateView() and as we got to know from here setSelectedRecordIds method triggering update view everytime it was a bug previously, which was later solved by Microsoft as told by @aroudaki 


Now, when we use the setSelecetedRecordIds() method and select record the ribbon bar changes and shows Edit, Delete buttons and it worked correctly.


But, when we unselect the record or select more records, it doesn't change the command bar buttons. We tried to debug and found out that it is causing only in crm region, in crm8 it is working correctly.


The difference in debugging between the two regions is that when the record is unselected the updateView() is called again in the crm8 region but not in crm region.


@AnqiChen @HemantG Please help us out.



Super User
Super User

Nice debugging work to catch differences across regions! I am impressed!

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,022)