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 Pages / Drop down to match cur...
Power Pages
Unanswered

Drop down to match current user department

(0) ShareShare
ReportReport
Posted on by
I have a choices column that list departments and I have a drop down for this choice column. I would like this drop down to match the current users department. Please advise. Thanks
Categories:
I have the same question (0)
  • RK2021 Profile Picture
    97 on at
    Assuming that the user's department is available as a value in a column on their Contact record, you may be able to use Basic Form Metadata to pre-populate the field - see Attribute type here https://learn.microsoft.com/en-us/power-pages/configure/configure-basic-form-metadata#prepopulate-field
     
    Alternatively, you could use Liquid to retrieve the value from the Contact and then use JavaScript to set the field on the form accordingly, although the specifics depend on whether you wish to pre-populate the field only or remove the ability of the user to change it from their department.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
sannavajjala87 Profile Picture

sannavajjala87 38 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 35

#3
Fubar Profile Picture

Fubar 23 Super User 2026 Season 1

Last 30 days Overall leaderboard