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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Dynamics Portal open l...
Power Pages
Unanswered

Dynamics Portal open lookup with click on the input field (not the lookup icon)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

we want to open the lookup (account lookup) when the user clicks on the Account Lookup field instead of the icon.

It is a lookup field on a form within dynamics portal.

newmay_0-1650446626238.png

Thanks for suggestions/help!

Categories:
  • Ulrikke Akerbaek Profile Picture
    101 on at

    Hi @Anonymous 

     

    You can probably do this with a script if it's a hard requirement.

    But with out-of-the-box configuration you can turn the lookup field into a drop-down. Would that solve it for you? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

    yes I am aware of the entity form metadata function, yet there are too many accounts so it is not an option.

     

    I need to write javacript in order to achieve this I think, but I dont know how to achieve it

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    Someone probably has a better way, but you could just hide the Icon/button with JS/CSS by setting the 'visibility' and then add an event listener on click or focus etc on the input that fires an on click event on the icon/button.

    //Note: if you only have one Lookup on the form then you can fire the button using 
    
    $('.launchentitylookup').click()
    
    // but if you have more than one Lookup on the form you will have to find the button node by starting with a unique id associted with the field and then locating the button to .click()

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 139

#2
Mohsin Ali Profile Picture

Mohsin Ali 41

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard