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 : nYmyOndY05ofvKi4kLuXfP
Power Apps - Building Power Apps
Unanswered

Remove Hyperlinks from Lookups fields

Like (0) ShareShare
ReportReport
Posted on 2 May 2023 16:08:44 by 86

Hello,

 

Within a Model Driven app, is there a way of removing/disabling the hyperlink on a lookup field, and therefore the ability for the user to select the item in a lookup field on a form, that has already been chosen?

 

Once an item is chosen in a lookup field (on a form), I would like it to simply display the value without the hyperlink, so the user cannot click on it and be taken to the related record. In the attached example, I want the user to be able to use the lookup to choose 'Drawing', but not then be able to click on 'Drawing', once it is chosen. I still want them to be able to remove 'Drawing' and chose another, so read only would not be relevant.

 

Is this possible?

 

Thanks

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on 03 May 2023 at 03:25:30
    Re: Remove Hyperlinks from Lookups fields

    Hi @jase ,

     

    Please take a look at this blog.

    https://balugajjala.wordpress.com/2018/05/02/disable-lookup-links/

    This is a method that is not supported by Microsoft.

     

    Best Regards,

    Wearsky

  • PowerBi-Rick Profile Picture
    80 on 11 Jul 2023 at 04:10:12
    Re: Remove Hyperlinks from Lookups fields

    I am using Model Driven Apps and I agree that it would be very helpful for the Lookup View that powers the PowerApp Search Box control to be able to remove the Hyperlink from the Lookup Value. Links encourage people to click, and it just takes them to a Lookup Table. Hopefully this will be added in the future. 

    Another option is to go with a PCF Dropdown Control for the Lookup rather than the default PowerApp Search Box. A few are listed here - https://pcf.gallery/categories#dropdown

  • Haw_Isaac Profile Picture
    7 on 20 Sep 2023 at 16:23:33
    Re: Remove Hyperlinks from Lookups fields

    I was planning on trying to use the addOnLookupTagClick functionality to essentially set it to a "do nothing" function.

    https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/addonlookuptagclick

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 686 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 433 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 266 Moderator

Last 30 days Overall leaderboard
Loading started
Loading complete