Skip to main content

Notifications

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
    RK2021 41 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,367

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,297

Leaderboard

Featured topics