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 / Auto populate syntax w...
Power Apps
Answered

Auto populate syntax works for for one list but in another form with same config. it does not.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello All,

 

I am completely baffeled on this one.

 

I have 2 canvas apps each with 2 person fields connecting to similar SharePoint lists and both have the O365 Users data connection configured. The goal is to have the user manager auto populate the current user's manager

 

In the first canvas app I have it working using the syntax below on a person field populating the 'Default' property

Office365Users.ManagerV2(User().Email).displayName

 

But in the second canvas app the exact same configuration doesn't work. I get the error;

DWTKBrook_0-1667504947649.png

Nice and ambiguous.

 

Anyone have any clue what may be happening and how I may fix it?

 

Thank you in Advance for any and all advice.

Cheers!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @Anonymous ,

    What type of control is DataCardValue3 ? The code is valid if you want a Text result. You also obviously need Office365Users connected in your Data Sources.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @WarrenBelz Thank you for your reply.

     

    As I mentioned above, the control is a person control; I have the O365Users connected as well. I have this configured already in another similar app and it is working.

    Data connections

    DWTKBrook_0-1667513076655.png

     

  • Verified answer
    WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @Anonymous ,

    I meant the control type - is it a Combo Box ? If so you might need in the DefaultSelectedItems

    {DisplayName: Office365Users.ManagerV2(User().Email).displayName}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @WarrenBelz 

     

    Yes, it is a combo box. I had tried that as well and I receive the error below;

    DWTKBrook_0-1667519858710.png

    I just don't understand what I did to get it working in the other one. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz  Ugh, I forgot a the {  Thank you so much.! That worked for me. It's different from my other app, but at this point, if its working . . . 

     

    Thanks again

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @Anonymous ,

    When you change the Items of Combo Boxes, you need the DefaultSelecteditems to reflect the data you want to see in it. A combo Box contains a Table and displays one of the fields in this Table (although there may be only one) in the item shown as selected by default. As it is a Table, it needs to be enclosed in {} brackets, with the two elements - the table field name displayed

    ComboBoxName.Selected.FieldName

    and then the text value you want to display in it. So in a simple example, your Combo Box Items was the Widget field in the List Devices

    Devices.Widgets

    and you wanted the DefaultSelectedItems to be the MyWidget field in the current list, it would be

    {Widgets: ThisItem.MyWidget}

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard