Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Disable most recently used items in lookup field BPF UI

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I would like to hide the recently viewed records in my BPF for a field. I read somewhere that if you remove the field from the form it works, but my requirement is that the field must be visible in both places (BPF and form).

I would also like to disable the 'change view' button in my BPF for a field. Anyone have any idea?

thanks in advance

  • Suggested answer
    Disable most recently used items in lookup field BPF UI
    To disable most resent used items from the lookup, we can use below Javascript : 
    consider attribute name is new_contact than to access on BPF prefix this field to header_process.
    1. Null check on the control
    2. Set "disableMru" lookupobject Options to true.
     
    if (formContext.getControl("header_process_attribute_name") != null) {    
        formContext.getControl("header_process_attribute_name").disableMru=true;
    }
  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Disable most recently used items in lookup field BPF UI

    Similar discussion: community.dynamics.com/.../disable-recent-records-in-business-process-flow

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans