Issue while Opening the Record in the new Tab in Data table from Instance definitions widget

Gowtham Kodali
Tera Contributor

 Hi All,

 

Is it possible to open the records in a new tab  when clicked in a new tab in the Data table with Instance definitions widget?

I am trying to modify the client script of the widget as follows but

$scope.$on('data_table.click', function(e, parms){
var p = $scope.data.page_id || 'form';
var s = {id: p, table: parms.table, sys_id: parms.sys_id, view: 'sp'};
//var newURL = $location.search(s);
//spAriaFocusManager.navigateToLink(newURL.url());
var newURL = $location.path() + "?id=" + s.id + "&table=" + s.table + "&sys_id=" + s.sys_id + "&view=" + s.view;
$window.open(newURL,"_blank");

 

I am able to open the record in new tab , but the filter is not working  , i am not able to filter the records , how can i resolve this issue?

Thanks in advance

 

 

 

 

0 REPLIES 0