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

Business Central thumbnail image
Blogs
06 Jan, 2025

What is Dynamics 365 Business Central? A Comprehensive Beginner's Guide

Dynamics 365 Business Central is a unified business management system offered by Microsoft. It helps businesses automate and manage various…

READ MORE
Thumbnail D365 for Marketing
Blogs
16 Dec, 2024

10 Reasons Why You Need Dynamics 365 for Marketing

This blog discusses the top 10 reasons to choose Dynamics 365 for Marketing to improve your business's marketing efforts.  …

READ MORE
Thumbnail_top 10 benefits of
Blogs
02 Dec, 2024

Top 10 Benefits of Microsoft Dynamics 365

This blog lists the advantages of Microsoft Dynamics 365, focusing on how it can improve your business operations.    …

READ MORE