cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerStar321
Helper I
Helper I

How to pass Textbox text from one App to another App

Hi All

 

I am trying to send text form a textbox from one PowerApp to another PowerApp using the Launch feature. I can get data if it is just plain text surrounded buy quotes, but I cannot set label or textbox text.

 

ID: "123ABC"                              Can view this parameter in the second App.

var1: DataCardValue4.Text         Cannot see this parameter in the second App.

 

Launch("https://apps.powerapps.com/play/48077821........%2C%201)",{ ID: "123ABC",var1: DataCardValue4.Text, var2: DataCardValue4.Text }, LaunchTarget.New)

 

I hope you can help
Colin

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi@PowerStar321,

Based on the issue that you mentioned, do you want to pass DataCardValue4.Text to another app?

Could you please share a bit more about the scenario?

I think there is something wrong with your syntax, here I recommend you use a deep link.

Further, you should use the "%20" to concatenate the "123" and "ABC".

Set the OnSelect:

Launch("https://web.powerapps.com/apps/b5f8bc77-xxxx-40xx-9cxx-e2xxxxx1f49e?ID=123%20ABC&Var1="&TextInput2.Text)

Note: "b5f8bc77-xxxx-40xx-9cxx-e2xxxxx1f49e" is your app ID of the App1.

And then set the OnStart property of the App2 as below:

Set(TestVar,Param( "ID" ));Set(TestVar1,Param("Var1"))

Finally once you click the button, it will navigates you to the App2 and you will see the two variables.

Hope it could help.

Regards,

Qi

 

View solution in original post

3 REPLIES 3
v-qiaqi-msft
Community Support
Community Support

Hi@PowerStar321,

Based on the issue that you mentioned, do you want to pass DataCardValue4.Text to another app?

Could you please share a bit more about the scenario?

I think there is something wrong with your syntax, here I recommend you use a deep link.

Further, you should use the "%20" to concatenate the "123" and "ABC".

Set the OnSelect:

Launch("https://web.powerapps.com/apps/b5f8bc77-xxxx-40xx-9cxx-e2xxxxx1f49e?ID=123%20ABC&Var1="&TextInput2.Text)

Note: "b5f8bc77-xxxx-40xx-9cxx-e2xxxxx1f49e" is your app ID of the App1.

And then set the OnStart property of the App2 as below:

Set(TestVar,Param( "ID" ));Set(TestVar1,Param("Var1"))

Finally once you click the button, it will navigates you to the App2 and you will see the two variables.

Hope it could help.

Regards,

Qi

 

View solution in original post

Spoiler
Spoiler
 

Hi Qi

 

Thanks for your help !

 

I also used

 

Launch(Concatenate("https://apps.powerapps.com/play/48077*******3a57&source=portal&screenColor=rgba(0%2C%20176%2C%20240%...))

 

Thanks

PowerStar321

I meant


Launch(Concatenate("h ttps://apps.powerapps.com/play/480******a57&source=portal&screenColor=rgba(0%2C%20176%2C%20240%2C%201)?ID=123&Ball=round&River=water&Var001=",TextInput1.Text))

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (59,201)