Hi Team,
We have added a Dataset PCF control on Home Grid of an entity and it is set as default control on the entity. So on page load our custom control should shows up.
Then, we switch to Read Only Grid with the help of Show As button and refresh the page, we see that the Ready Only Grid shows up on the page instead of our custom control.
After some investigation, we found out that there is a local storage item, which stores the most recently used control/grid. The last selected control value gets stored in local storage with the name as MRU_Grid_ControlId<entityname> as shown in below image.
This local storage item is not from our end by any means. When we clear the local storage it works fine. However, refreshing the page creates the same local storage item again.
When you refresh and click on Show As button to change the control on Home Grid, it goes and checks the Most Recently Used (MRU) control from the local storage and displays the same. This means if you are on OOB Home Grid and click on Show As to switch to your custom control then still the OOB grid will be shown.
This appears to be a bug. Any help from the team would be appreciated.
Thanks in advance!
WarrenBelz
81
Most Valuable Professional
mmbr1606
53
Super User 2025 Season 1
Michael E. Gernaey
46
Super User 2025 Season 1