function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajeshwar PatelRajeshwar Patel 

how to add open in a new tab functionality in Lighthing

In my code i need a functinility for open a record in a new tab . 
Actually i m working in a partner community page . my requirement is when even i find any partner i can open the partner detail either in (open in a new tab OR ctrl + click ) both mac and windows .
NagendraNagendra (Salesforce Developers) 
Hi Rajeshwar,

Please check with below link from the success community for the same. Mark this as solved if this helps.

Rajeshwar PatelRajeshwar Patel
Hi ,
i got the solution but .. But only open in a new tab is the problem 

This is on controller.js
                 var curUrl=window.location.href;
                 var curuel =curUrl+'/partner-detail?RecordId='+RecordId+'&filter='+filters+'&searchInput='+filterString'+ 
                 console.log("Current Url"+curUrl);
        var urlEvent = $A.get("e.force:navigateToURL");