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

Blogs
12 May, 2025

How to create an Autonomous Agent in Copilot Studio

What Are Autonomous Agents in Copilot Studio? Autonomous agents are AI-driven entities that operate independently within Copilot Studio. They go…

READ MORE
Thumbnail D365 Sales
Blogs
09 Apr, 2025

What Is Dynamics 365 Sales? A Comprehensive Guide

What Is Dynamics 365 Sales? A Comprehensive Guide Microsoft has become a leader in business applications with its suite of…

READ MORE
Blogs
02 Apr, 2025

Quality is not just an option; it’s a responsibility

In the world of software development, testing is often seen as an optional phase, especially when there is no dedicated…

READ MORE