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 Apps / Javascript to disable ...
Power Apps
Unanswered

Javascript to disable adding new records from a lookup field

(0) ShareShare
ReportReport
Posted on by 69

Can Javascript be used to disable the user from adding new records to a lookup field in a model driven app?

 

I still want the user to be able to add new records (i.e., this is not a security role thing), I just don't want them to be able to add them from the lookup. The reason being that, no matter what I have tried, I cannot get a field value to map to the Quick Create Form (even though I have created the mapping). Because of this, I just want to prohibit them from being able to add records from the lookup.

I have seen this function on a few blogs as an option to do it,

<IsInlineNewEnabled>false</IsInlineNewEnabled> 

 

but am by no means fluent in js, so I don't know how to write the code. Please advise.

 

Categories:

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard