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

How to make URL entered with new entries clickable

I am looking for a little assistance with a Canvas APP.

 

The goal here is for an end user to make an entry in to the app as shown below. Then we need the URL to be clickable when searched. I cannot utilize this approach Launch( "https://bing.com" ), as the url is unknow until the end user will enters it.

 

Any help would be greatly appreciated. 

 

Zartanian_0-1632454212531.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ramole
Memorable Member
Memorable Member

Hi @Zartanian 

 

You have 2 options 

 

1-

use on select of the control 

Launch(Self.Text)

 

2- Use an HTML Text control with this code in the HTML Text property

 

"<a href="""&Parent.Default&""">"&"Parent.Default"&"</a>"

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

10 REPLIES 10
Ramole
Memorable Member
Memorable Member

Hi @Zartanian 

 

You have 2 options 

 

1-

use on select of the control 

Launch(Self.Text)

 

2- Use an HTML Text control with this code in the HTML Text property

 

"<a href="""&Parent.Default&""">"&"Parent.Default"&"</a>"

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

Zartanian
New Member

@Ramole 

Thank you for the quick reply! I will need a little time to research, implement, and test. This is actually my first PowerApp Canvas and I am importing it from an Excel file. This basically means, your answers seem very straight forward, but I will need time to read/research how to implement.

Ramole
Memorable Member
Memorable Member

Hi @Zartanian 

Test it if it works please accept as solution this will help others, and when you say you need to research, do you mean when to put the code ? 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."
Zartanian
New Member

@Ramole 

That is correct, I am not 100% on where to enter the code. As much as I appreciate the help, I do not want to be taking advantage.

 

 

 

Ramole
Memorable Member
Memorable Member

@Zartanian 

 

Just add this code Onselect of the control to launch on select 

47F2EEF1-13DC-41A3-A7A7-4365602438C3.jpeg

Launch(Self.Text)

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

@Ramole 

Thank you again for the quick reply!

 

I hope this makes sense. 
I made edit like so:

Zartanian_0-1632534864554.png

After making the above change the link will only work on this screen (Have to have item in edit mode). 

 

The goal is to have it working on the screen below. I did try adding the same code here, but was unable to yield the same results. I am sure it is just a small oversight on part.

 

Zartanian_1-1632535020568.png

 

 

Ramole
Memorable Member
Memorable Member

Hi @Zartanian 

 

As you're using a form and form is on view that's the reason OnSelect function doesn't work and the card is locked 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."
Zartanian
New Member

@Ramole I see, is there a way around this or is it simply a limitation?

Ramole
Memorable Member
Memorable Member

@Zartanian 

Yes  it simply a limitation 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,446)