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 / How to set item into e...
Power Apps
Answered

How to set item into edit form (not using detail form)

(0) ShareShare
ReportReport
Posted on by 255

Hi, 

I have problem to set "default" item into edit form. I dont use detail form. So I can't use "BrowseGallery1.Selected". 

I have ID of logged user. Depend on logged user ID, I need find the user in SP list (list of employee) and set this user into item in edit form. 

Can anybody helps me with any advice ? I tried LookUp function (maybe not in correct way), but it doest work. 
Have you some example how to make it, maybe with the right use of lookup? 
 

Categories:
I have the same question (0)
  • Jagadeeshk Profile Picture
    457 on at

    if the default required user ID then use user().email 

    if something else 
    please elaborate with steps.

     

  • Verified answer
    Pstork1 Profile Picture
    69,647 Most Valuable Professional on at

    Lookup() is the best way to do this.  If you know the value of a field in the data source that will uniquely identify the record that is what you use for the lookup.  So I'm assuming you have a list of employees in SharePoint.  If the employee is in a Person/Group column this would be the lookup.

     

    
    Lookup(SPDatasourceName, employeecolumnname.email = currentuserEmail)

    Put this in OnStart to set the variable with the currentuseremail.

    Set(currentuserEmail, user().Email); 

     

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
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard