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

launch to website

I have a text input box and a luanch button I want to go to a website based on on the textbox path when the launch button is hit.

 

Example:

 

Text box 1 the value input is 438826.  I want it to navigate to "www.companywebsite.", [textbox1], "perferferfre.com"

 

so if it was 438826 in textbox 1 I would go to "www.companywebsite.438826perferferfre.com"

438827 "www.companywebsite.438827perferferfre.com"

438828 "www.companywebsite.438828perferferfre.com" etc...

 

I can't seem to get the launch code to take the textbox value.

1 ACCEPTED SOLUTION

Accepted Solutions

Please try using Concatenate functions inside the Launch function.

Ex:

Launch(Concatenate("https://www.bing.com/search?q=",TextInput1.Text))

or you can use '&' to form the string:

Launch("https://www.bing.com/search?q=" & TextInput1.Text)

View solution in original post

3 REPLIES 3
hpkeong
Community Champion
Community Champion

Hi

 

May you check if you include http:\\ or https:\\?

example:

Launch("http:\\www.google.com")

 

Hope this helps.

hpkeong

Launch("https://companywebsite-my.sharepoint.com/personal/user_company_com/_layouts/15/onedrive.aspx?id=%Doc...438388%2Epdf&parent=%")

 

when I hard code it like this it works great.  What I need to do is have 438388 be based on the text box.

Please try using Concatenate functions inside the Launch function.

Ex:

Launch(Concatenate("https://www.bing.com/search?q=",TextInput1.Text))

or you can use '&' to form the string:

Launch("https://www.bing.com/search?q=" & TextInput1.Text)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,433)