knowledgecenter-breadcrum

Knowledge Center

27 Apr, 2022

Quick Tip – Restrict Customer Lookup to show only account or contact

Posted on 27 Apr, 2022 by Admin, Posted in Dynamics 365 Dataverse Power Platform Dynamics-365 Sales

Quick Tip – Restrict Customer Lookup to show only account or contact Blogs

Quick Tip – Restrict Customer Lookup to show only account or contact

In this blog we will see how we can restrict the customer lookup type field to show only account or contact without using “addPreSearch” method.

To restrict the customer lookup, we can use below method.

For more info:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/setentitytypes

Example.

On Case entity, we have added below code on form load to restrict the customer lookup to show only account.

Hope this helps!!

Comment

This is a Required Field

Loading

Recent Updates

Case Study
06 Sep, 2024

Implementation of Business Central for a Trading Organization

Customer Overview A prominent trading organization sought to enhance its operational efficiency and streamline its business processes by implementing Dynamics…

READ MORE
Blogs
03 Sep, 2024

Optimizing Code Check-ins: Ignoring Unnecessary Files for a Cleaner Azure DevOps Repo.

Introduction In this blog, we will learn about the code check-in process in DevOps. After development, unnecessary files are sometimes…

READ MORE
Blogs
20 Aug, 2024

Configure Macros in Omnichannel to improve Agent Productivity

What are Macros? Macros are a set of sequential actions that a user performs. They enable users to perform daily…

READ MORE