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 / Use a Dropdown to fill...
Power Apps
Answered

Use a Dropdown to fill "ApproverToEmail" value

(0) ShareShare
ReportReport
Posted on by 20

Hi,

 

I want to place an approval button on my page and I want that the "ApproverToEmail" value must be fillet from a Dropdown or from a an Office365 variable like "Manager".

 

Here what I'm using now : 'Boutondemanded''approbation'.Run("approvator@mail.com";"sender@mail.com";DataCardValue2)

 

Can-you help please ?

 

Regards.

Categories:
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @espacio ,

     

    Is DataCardValue2 the value from which you required the office365Users Manager value ? 

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    ComboBox Item property:

    Office365User.SearchUser({top:999});

    'Boutondemanded''approbation'.Run(ComboBox.Selected.Mail;"sender@mail.com";DataCardValue2)

  • espacio Profile Picture
    20 on at

    Hi zmansuri,

     

    Thank you for your reply,

    I added the Combobox with the Item property, but it's showing only one entry and it's the town and not the user :

     

    espacio_0-1631782393613.png

    Regards

  • Verified answer
    espacio Profile Picture
    20 on at

    Hi @PriyankaGeethik ,

     

    thank you for your reply.

    No, the DataCardValue2 containt the ID, office365Users Manager value must be must be geted from a new field that I have to add.

     

    Regards.

  • Verified answer
    espacio Profile Picture
    20 on at

    Hi,

     

    It's working now, here is the final Combobox's command :

    Office365User.SearchUser({searchTerm:"";top:999}).Mail

     

     

    Thank you very much for your help.

     

    Have a nice day.

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard