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
Sebastian PageSebastian Page 

Redirect link is not working in lightning component

User-added image

Hello Experts, 

I am working on developing a lightning app where I have to display open tickets where the running user is owner of the ticket or he is a member of queue to which he is a member. 

I am able to display the list of cases but I can not make it clickable on the link / button. Here it is expected to open the ticket in a new browser TAB. 

Error :  Page does not exist's 
User-added image
If any one have worked on similar requirement, I would appriciate any suggestions as what I am missing to make it work. My Controller logic appers as follows: 
 
dohandelClick : function(component, event, helper){
      var eventSource=event.getSource();
        var Id=eventSource.get('v.name');
        var navEvt = $A.get("e.force:navigateToSObject");
       navEvt.setParams({
      "recordId": Id
      
    });
    navEvt.fire();
    }

Component defination
 
<div class="slds-truncate" title="Cloudhub">
            <lightning:button name="{!cs.id}" variant="brand" label="Vew Detail" onclick="{!c.dohandelClick}" /> 
</div>

Thanks, 
Sebastian.