knowledgecenter-breadcrum

Knowledge Center

03 Nov, 2021

How to open lookup control on click of custom button?

Posted on 03 Nov, 2021 by Admin, Posted in Power Apps Dynamics-365 Sales Dynamics 365

How to open lookup control on click of custom button? Blogs

How to open lookup control on click of custom button?

Introduction

In this blog, we are going to see how we can open a lookup control with the click of a custom button.

Example

We are going to add a custom button named “Open Lookup Control” on the Account entity and on click of which it will open contact lookup control.

Step 1: Add a custom button on the account entity using Ribbon Workbench by adding its command and necessary details.

Step 2: Save and Publish the solution. Now you can see the button on the Account form.

Step 3: Add the following code in the script file for the button.

Step 4: Add the script file in Ribbon Workbench and publish the solution.

Result

Comment

This is a Required Field

Loading

Recent Updates

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
Thumbnail
Blogs
26 Mar, 2025

What is Power Virtual Agents: Exploring AI-Driven Virtual Chatbots?

What is Power Virtual Agents: Exploring AI-Driven Virtual Chatbots? In today’s digital landscape, businesses are constantly seeking ways to enhance…

READ MORE