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 / Update SharePoint Text...
Power Apps
Answered

Update SharePoint Text Fields with Choice Column Item in PowerApps

(0) ShareShare
ReportReport
Posted on by 299

Hello All,

I have a PowerApps canvas form with a SharePoint Choice column and two Single Text columns. When a User selects "Yes" from the Choice column I want to populate the first Single Text column with a specific User name, and populate the second Single Text column with that User's email. The Choice column determines if the request form is a 'Corporate Request' and the items are No and Yes. The two text columns will always be the CFO's name (Corporate Approver) and his email (Approver Email). I have tried multiple solutions that I've found online and nothing has worked. Can anyone tell me what functions I should use on each of the column properties?

Thank you for any assistance.

PLove

Categories:
I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,714 Super User 2026 Season 1 on at

    Hi @PVLove,

     

    Try below query

     

    In the Name Field set Default Value as

    If(Dropdown1.Selected.Value ="Yes","Set Name Here",Blank());

     

    Then Email Field set Default Value as

    If(Dropdrown.Selected.Value=Yes, "Set Email Here",Blank())

     Please Mark as Answer if it is helpful and provide Kudos

     

    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie

    rampprakash_0-1631214322388.jpeg

     

     
  • PVLove Profile Picture
    299 on at

    Hi @rampprakash ,

    Thank you for responding!  I'm using a SharePoint Choice column and not a Dropdown.  I've tried using the following expression for the Default value in the Name field, but it triggers the error displayed in the screenshot.

     

    Name field > Default value:

    If(CorporateRequest.Selected.Value = "Yes", "Peyton Henderson", Blank())

     

    Patti

    corpRequest1.png
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @PVLove

     

    Corporate Request is a choice column in SP and the Items property for the dropdown is

    Choices(SPList.CorporateRequestCollumnName)

     

    The text Default property is

    If(CorporateRequestDataCard.Selected.Value = "Yes", "Peyton Henderson", Blank())

    StalinPonnusamy_0-1631278189533.png

    Please let us know if misunderstanding your requirement

  • PVLove Profile Picture
    299 on at

    Hi @StalinPonnusamy ,

    Thank you for responding!  I finally go it to work, but only with the expression below.

     

    Name > Default >

    If(DataCardValue52.Selected.Value = "Yes", "Peyton Henderson", Blank()).

     

    The Name > Default field will NOT accept the expression:

    If(CorporateRequest.Selected.Value = "Yes", "Peyton Henderson", Blank())

     

    I know using the DataCardValue is not good practice, but I'm at a loss on how to resolve the the issue.

    Thanks!

    Patti

  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @PVLove 

     

    I'm not using a Data card. Just a name to differentiate from the SP column name.

    • Combo Box refers SP List
    • Text field refers Combo box

    StalinPonnusamy_0-1631295293229.pngStalinPonnusamy_1-1631295311727.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard