cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Elements DataFieldWithURL in separate window

former_member435529
Participant
0 Kudos

Hello,

I am using annotations DataFieldWithURL and the link is open up in the same window.

How can it be open in a separate window ?

Thanks,

Javier

gopalmishra673
Explorer
0 Kudos

Hi Javier,

Could you please explain the solution of this problem the way you achieved? I have same issue with dynamic link list card in Over View Page. Link is opening in same window.

gregorw
Active Contributor
0 Kudos

Ami Nakano filed an influencing request on this topic:

Option to open a cross navigation target app in a new tab

View Entire Topic
monokizsolt7
Participant

I solved it by adding this to my Component.js:

$('body').on('click', 'a', (e) => e.target.target = '_blank');

Shiv_602
Discoverer
0 Kudos
Thank you, It's working for me.