Punit S
Giga Guru

Try below instead if that works 

 

var table = 'table_name'; // replace with your table name
var sysId = '47dc71c3deuyueueyuyeib'; // replace with your record's sys_id
var view = 'form'; // replace with the view you want to display (e.g. form, list, etc.)

var gm = new GlideModalForm(table, sysId, view);
gm.setTitle('Search Data');
gm.render();