DYNAMICS 365 HOW TO HIDE RECENT RECORDS FOR LOOKUP FIELD IN UCI

In UCI, a lot of behaviors have been changed comparing to the Classic Web Interface such as the tabs, BPF, and many others.

Today, I will be talking about one of these behaviors which is the Recent Records in lookup fields.
Hide recent records 1

In a brief summary, the Recent Records feature will suggest the latest records that have been searched for, where the user can select one of them, and, the list of available records of the current view will then be displayed.

This is a nice-to-have feature since it might help the users to speed up data entry. However, if the lookup has been filtered to display specific records, the Recent Records will not respect this filter and will keep showing records even is they should not. This scenario can lead to selecting a record by the user that is not allowed to be selected.

Therefore, in this situation, it is better to hide the Recent Records to avoid any problem that might occur due to this conflict. And here, we will learn how to hide the Recent Record in a lookup field.

The below steps, will show you how to change the field behavior settings in order to hide the Recent Records
  1. Go to your Power Apps maker and open the solution you are working on
  2. In the solution, go to the entity and open the form where the lookup exists
  3. Click on the lookup field, the Properties pane will appear where you can see the property Disable most recently used items is by default unchecked
    Hide recent records 2

  4. In order to hide the Recent Records, check this property, save and publish
    Hide recent records 3

  5. Open a record and click in the lookup field, the Recent Records are now hidden
    Hide recent records 4

  6. If using the Classic Interface to hide this feature, you can double click the field and tick the appropriate checkbox
    Hide recent records 5


Hope This Helps!

Comments

  1. Thank you for the article. Do you know where the recent records data is stored? I ask, because I would like to keep recent records for a particular lookup field (contacts), but I would like to "clear" all recent records for all users. This is necessary, because an import of new contact information has created contacts with different GUID's. The recent records point to the old GUID's, so ends up with "this record doesn't exist" error. The only way around it is to click on the all records link, find the contact, which then refreshes the recent record with the correct guid. I hope this makes sense. Thanks.

    ReplyDelete

Post a Comment

Popular posts from this blog

SEARCH BY GUID IN DYNAMICS 365

SAVE FORM IN DYNAMICS 365 JAVASCRIPT