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
18 Jul, 2024

How to use Fiddler to debug your PCF while doing development.

Have you ever felt like you're spending too much time debugging your PCF (PowerApps Component Framework) during development, only to…

READ MORE
Blogs
16 Jul, 2024

How to use Solutions with Power Pages

What is Solution in power Pages? A solution is a container for components such as Website Configuration and Dataverse Components.…

READ MORE
Blogs
15 Jul, 2024

Create a Dataverse table with a SharePoint List

In today’s business world, Organization uses SharePoint lists for document management, and data storage. Let's assume a scenario where an organization…

READ MORE