Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
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:
  • RK2021 Profile Picture
    68 on at
    Drop down to match current user department
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,636 Most Valuable Professional

Leaderboard