cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Hi there,

 

Usually after some houres you find the solution, now I unfortunatly do not. 

 

I have my data stored in CDS:

table: customers (name, email)

table: orders (customerid)

 

I'm trying to send details from an order but it does not work. For some reason the button expects another type of data.

If I manually define the e-mailaddress "test@test.com" it works fine. 

 

Attached images hopefully make things clear.

 

Any help would be appreciated. 

 

Thanks in advance,

 

Houston Swamp

 

01.PNG02.PNG03.PNG04.PNG

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver II
Resolver II

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Thanks, I see that DataCardValue27 is a select input, try using DataCardValue27.Selected.cr0a1_email to select the email

View solution in original post

6 REPLIES 6
Highlighted
Resolver II
Resolver II

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Hi.

@Houston_Swamp 

try

DataCardValue22.Value or DataCardValue22.Text depending on the type of input you are using

 

consider marking this as solution if it solves your problem this will help others

Highlighted
New Member

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Thanks for your quick reply Ilton,

 

It didn't bring me the solution unfortunately. Any other options I could think of?

 

Thanks in advance,

 

Houston Swamp

Highlighted
Resolver II
Resolver II

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Hi.

What was the error?

 

Highlighted
New Member

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Please see image attached.

 

Thanks

Highlighted
Resolver II
Resolver II

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Thanks, I see that DataCardValue27 is a select input, try using DataCardValue27.Selected.cr0a1_email to select the email

View solution in original post

Highlighted
New Member

Re: Initializing an e-mailaddress from Powerapps (Invaled argument type (Control). Expecting a Text value instead

Thanks, this works. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,055)