cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Houston_Swamp
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
ilton
Resolver II
Resolver II

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
ilton
Resolver II
Resolver II

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

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

Hi.

What was the error?

 

Please see image attached.

 

Thanks

ilton
Resolver II
Resolver II

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

Thanks, this works. 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,784)