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

Blogs
25 Jun, 2026

Dynamics CRM Testing Checklist Before Production Deployment

There are certain things in a CRM project that a QA must validate or verify before any solutions gets deploy…

READ MORE
Blogs
19 Jun, 2026

How to Trigger a Power Automate Flow from Power Apps Code Apps (Latest Experience)

Building a Power Apps Code App is just the beginning. In real-world business applications, users often need to send emails,…

READ MORE
Blogs
31 Mar, 2026

Debugging Power Pages Server Logic Using Visual Studio Code

Power Pages Server Logic allows developers to execute secure backend JavaScript directly within Power Pages. It is commonly used for…

READ MORE