I am using a simple anchor link and mailto link, in an HTML Text control:
"Primary Contact: <a href=#>" & PrimaryContact.first_name & " " &PrimaryContact.last_name & "</a>
<br>" & "Email: <a href=mailto:" & PrimaryContact.email & ">"& PrimaryContact.email &"</a>"
Both of them cause my browser (Chrome) to open a new tab. The anchor link opens PowerApps Studio in a new tab. Why? I want the anchor link to simply select an item in my gallery. And I've set Outlook desktop as my default email client so not sure why it opens a blank tab for that either (although it does open Outlook too)?
Is there a way to prevent HTML links from opening a new tab when used in powerapps? I know I could use blue, underlined text as a workaround but then the mouse pointer doesn't change when you hover over the 'link'.
Solved! Go to Solution.
Hi @DE1 ,
Do you want to prevent opening a new tab by clicking on the html text?
Have you set the html text's OnSelect or other properties?
If you do not set the html text's OnSelect to Launch function(for example), it will not open a new tab by clicking on the control.
Community Support Team _ Phoebe Liu
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round
Register by September 5 to save $200