Opening an External Page in the Same Tab Using UI Builder Button Component

Y_Aoi
Tera Contributor

Hello Community,

I am currently working with the UI Builder in ServiceNow and have come across a challenge that I hope you can help me with. I've configured a button component to navigate to an external URL using the "Link to destination" event. However, I've noticed that when setting up an external page, it always opens in a new tab by default.

I would like the external page to open in the same tab instead of a new one. Is there a way to override the default behavior and make the button component open the link in the same tab?

Any guidance or suggestions on how to achieve this would be greatly appreciated.

Thank you in advance for your assistance!

Best regards, Aoi

1 件の受理された解決策

iwai
Giga Sage

How about designing a "Text Link" to resemble a button?

This allows you to display the external page in the same tab.

 

Japanese: 「Text Link」をボタンのようなデザインに設定して使うのはどうでしょうか。

この方法で、ブラウザの同じタブのまま画面遷移して外部ページを表示できます。

iwai_0-1716635586480.png

 

元の投稿で解決策を見る

2件の返信2

iwai
Giga Sage

How about designing a "Text Link" to resemble a button?

This allows you to display the external page in the same tab.

 

Japanese: 「Text Link」をボタンのようなデザインに設定して使うのはどうでしょうか。

この方法で、ブラウザの同じタブのまま画面遷移して外部ページを表示できます。

iwai_0-1716635586480.png

 

Y_Aoi
Tera Contributor

回答ありがとうございます。こちら試してみようと思います。