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 / Edit form control - Item
Power Apps
Unanswered

Edit form control - Item

(0) ShareShare
ReportReport
Posted on by 945

Hi guys,

 

When using Edit Form, lets say the Data source is Contacts, if in its "Item" property we put a lookup formula, ain't it will show blank if the lookup cannot find the condition ?

 

My lookup is simply like this :

LookUp(Contacts, Contact = varContact)

My issue is when it is cannot find (because the variable empty), when I run the app, the form will throw message "Getting your data" with no end. I tried to put some If condition and when it is not meet, no need to go to that lookup and use Blank() function also not working.

 

Any idea why ? It is a Custom Page though.

Thanks

Categories:
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Axal ,

    I did a test and I received "No item to display" .

    What is your expected behavior when variable varContact is blank? Form to be prepared for a new record ?

    If so, i think that you can achieve that when you initialize the form:

     

    If(
     IsBlank(LookUp(Contacts, Contact = varContact)),
     NewForm(Form),
     EditForm(Form)
    )

     

     

  • Axal Profile Picture
    945 on at

    Hi,

     

    No, my expectation is just a blank edit form even when there is no record returned from Lookup. And my Edit form is always set as View Mode.

    Thanks.

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 Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard