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 / Canvas App - Send Drop...
Power Apps
Answered

Canvas App - Send Drop Down List Selection to Sharepoint

(0) ShareShare
ReportReport
Posted on by 29

Hello,

 

I am trying to create a submission log for managers to submit employee discussions to a Sharepoint List. I have a drop down that is connected to a separate Sharepoint that pulls the employee's names and everything else is a manual input. I created a flow with each input given the dynamic content of "Ask in Powerapps". In the formula bar for OnSelect, I have the following: 

 

'PowerApp->Createitem_2'.Run(IssueDateInput.SelectedDate,EmployeeInput.SelectedText,WitnessInput.Text,ReasonInput.Text,DiscussionInput.Text)

 

The problem is that it gives me an "Invalid Argument Error: A Text Value Was Expected" for the input "EmployeeInput.SelectedText". I am stuck here and do not know how to get around it. Any ideas?

 

Thanks,
Travis

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

    Hi @tbush33 ,

    Try

    EmployeeInput.Text

     

    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.

     

  • tbush33 Profile Picture
    29 on at

    Hi @WarrenBelz , thank you for your response. When I attempt to just put the .text, it says that the name is not valid and that the identifier is not recognized. Any ideas?

  • WarrenBelz Profile Picture
    155,927 Most Valuable Professional on at

    @tbush33 ,

    What type of control is EmployeeInput?

  • tbush33 Profile Picture
    29 on at

    @WarrenBelz It is a Drop Down.

  • Verified answer
    WarrenBelz Profile Picture
    155,927 Most Valuable Professional on at

    @tbush33 ,

    You need

    EmployeeInput.Selected.xxxx

    where xxxx depends on the Items property of EmployeeInput
    When you type EmployeeInput.Selected. (note second dot), valid values will come up underneath. For some guidance of what they mean: -

     

    • If your Items are Choices(ListName.EmployeeInput) - a Choices or Lookup field), the reference will be EmployeeInput.Selected.Value
    • If they are Distinct( . . .  .), it will be EmployeeInput.Selected.Result
    • The other option is when they are based on a field value in a list (other than Distinct), then it will be EmployeeInput.Selected.FieldName (actual field name)

    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.

  • tbush33 Profile Picture
    29 on at

    @WarrenBelz I feel like a fool. The help bar was even trying to guide me down that path...I was able to get it to work following your instructions. Thank you so much!!

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard