web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 7sfzBZ/R/6Xo9v4XMp8nHD
Power Pages - Power Apps Portals
Answered

How to customise a lookup dialog box on portal?

Like (0) ShareShare
ReportReport
Posted on 24 Sep 2021 20:54:34 by 88

When I click on the lookup icon (magnifying glass) on the portal, it opens a dialog box (popup) for the user to select an item form the list and click the 'Select' button.

 

This dialog box has a default title as 'Lookup records' and button as 'Select'.

 

How do I use customer javascript to customer the title and button?

 

Thanks

I have the same question (0)
  • Cris2 Profile Picture
    88 on 26 Sep 2021 at 16:15:44
    Re: How to customise a lookup dialog box on portal?

    Thank you very much. This has worked. Much appreciated!

     

    Good luck with the 'Select' button. Please do share the solution.

  • Verified answer
    H V Profile Picture
    1,510 on 25 Sep 2021 at 13:12:37
    Re: How to customise a lookup dialog box on portal?

    Hi @Cris2 

     

    Please find below code to change text of "Lookup records".

    $( document ).ready(function() {
     $("#fieldlogicalname_lookupmodal .entity-lookup .modal-content .modal-header .modal-title").first().text("your text");
    });

     

    In above code, you have to replace "fieldlogicalname" with your form field which opens the dialog.

     

    I have tried to change the text of lookup dialog box using JS. However I'm working on "Select" button text change.

     

    --------------------------
    If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 92 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 73

#3
Shafiuddin Profile Picture

Shafiuddin 45

Last 30 days Overall leaderboard
Loading complete