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 / Setting default fields
Power Apps
Unanswered

Setting default fields

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys, 

 

I'm looking to set default fields in my forms based on logged in user. I have a 'create new record' and a 'view record' function. In both cases I need to set the default value to be that of the logged in user. 

 

When I default this in my create function, it does not allow for another entry after the form resets.

 

When I try this in my view, by setting the same default in the search box, it removes all the data.

 

Any help for this would be appreciated, 

 

Thanks.

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Would you please share a screenshot of the issue you mentioned?

    would you please explain a bit for the "Create new record", and the "View record " funciton here?

    Which data that you would like the default property to set with the current user, with the User () function?

    For the form controls, please check the article first:

    Form control details

     

    Regards,

    Michael

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-micsh-msft,

     

    I have managed to set the default user to that of who is logged in. This appears to work in the web studio, but it returns blank on mobile. It is the last drop down in the below shot. I solved this by changing my submit button to allow an edit form, rather than creating a new form once completed.

     

    TS1.PNG

     

    My issue with locking the search I think is a missing link to data.

     

    Search.PNG

     

    The user ID field is not included in the search view, but by selecting each individual  I was hoping to lock the search function to the same ID field so that only the logged in users information is visible.

     

    detail.PNG

     

    Thanks for your help so far.

     

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard