I tried the following:
However, the webpage opens in a seperate browser tab as opposed to opening in the same window. How can i fix this?
Hi @cooltechie thank you for posting this question. While the thread below was asking for the opposite of your request, I think the answer from our Community Support Team will be helpful. Please review and let me know if this helps.
I had a very odd situation testing your issue.
I thought that I can reproduce this issue on the very first time. When using a formula like:
The browser would open a new window.
But with a formula similar like yours, for the first and second time I click on the button, a window pop out and ask me if I want to leave the current window, and a smaller window on the buttom asking if I want to allow this window. I click on "Always allow", and back to edit mode in PowerApps. Then I try to play this app again, and select the same button, it will directly open a new window without any warning.
Here is the formula I used:
Notice that in Concatenate function, the formula should be:
Concatenate( String1 , String2, ... )
You do not need to use "&" operator. So your formula should be:
Launch(Concatenate("https://www.mysite.com/view_account_.aspx?accountId=",LookUp(Table1, Account = AccountSearch.Selected.Account, 'Account ID'), "target=%22_blank%22"))
Also, please add a Label control and set its Text property to:
Concatenate("https://www.mysite.com/view_account_.aspx?accountId=",LookUp(Table1, Account = AccountSearch.Selected.Account, 'Account ID'), "target=%22_blank%22")
To make sure that in this label, the URL is exactly the right one.
Read the announcement for more information!
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Features releasing from October 2019 through March 2020
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications