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

URL not found

My lex component
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">
   <lightning:button label="PDF" onclick ="{!c.handleClick}"/>
   <aura:attribute name="recordId" type="String"/> 


	handleClick : function(component, event, helper) {
        var recId = component.get('v.recordId');
        var retURL = component.get('v.pdf');
        retURL ="apex/TTDLetter?recordId="+recordID);

when i have clicked on the lightning button from record page I got a error 'URL doesn't exist".
Darshan Gandhi 9Darshan Gandhi 9

SFDC 18 - There could be several reasons. You can already look into solved thread.


Let me know if it helped you